00001 #ifndef PLAYA_OPT_BUILDER_H
00002 #define PLAYA_OPT_BUILDER_H
00003
00004 #include "PlayaUnconstrainedOptimizerBase.hpp"
00005 #include "Teuchos_RCP.hpp"
00006
00007 namespace Teuchos
00008 {
00009 class ParameterList;
00010 }
00011
00012 namespace Playa
00013 {
00014 using Teuchos::ParameterList;
00015 using Teuchos::RCP;
00016
00017
00018
00019
00020
00021
00022 class OptBuilder
00023 {
00024 public:
00025
00026 static RCP<UnconstrainedOptimizerBase>
00027 createOptimizer(const ParameterList& params,
00028 int verb=0);
00029
00030
00031
00032 static RCP<UnconstrainedOptimizerBase>
00033 createOptimizer(const string& filename,
00034 int verb=0);
00035 };
00036 }
00037
00038 #endif