-------------------------------------------------------------------*/ ! */
| 67 | |
| 68 | */ |
| 69 | bool |
| 70 | SampleTrainer::initImpl( CmdLineParser & cmd_parser ) |
| 71 | { |
| 72 | bool result = TrainerAgent::initImpl( cmd_parser ); |
| 73 | |
| 74 | #if 0 |
| 75 | ParamMap my_params; |
| 76 | |
| 77 | std::string formation_conf; |
| 78 | my_map.add() |
| 79 | ( &conf_path, "fconf" ) |
| 80 | ; |
| 81 | |
| 82 | cmd_parser.parse( my_params ); |
| 83 | #endif |
| 84 | |
| 85 | if ( cmd_parser.failed() ) |
| 86 | { |
| 87 | std::cerr << "coach: ***WARNING*** detected unsupported options: "; |
| 88 | cmd_parser.print( std::cerr ); |
| 89 | std::cerr << std::endl; |
| 90 | } |
| 91 | |
| 92 | if ( ! result ) |
| 93 | { |
| 94 | return false; |
| 95 | } |
| 96 | |
| 97 | ////////////////////////////////////////////////////////////////// |
| 98 | // Add your code here. |
| 99 | ////////////////////////////////////////////////////////////////// |
| 100 | |
| 101 | return true; |
| 102 | } |
| 103 | |
| 104 | /*-------------------------------------------------------------------*/ |
| 105 | /*! |
nothing calls this directly
no outgoing calls
no test coverage detected