| Quintiq file version 2.0 | 
| #parent: #root | 
| StaticMethod POAAlgortihmToString ( | 
|   String name | 
| ) as String | 
| { | 
|   Description: | 
|   [* | 
|     For example Optimizer::NewPOA( arg0, arg1 );  can be invoked BenchmarkUtilities::POAAlgorithmToString('NewPOA'); | 
|     Maintain by R&D | 
|   *] | 
|   TextBody: | 
|   [* | 
|     // jasperb Feb-22-2012 (created) | 
|      | 
|     poadef := select( DomainModel::Domain().POAAlgorithmDefinitions(), Elements, e, e.Name() = name ); | 
|      | 
|     result := BenchmarkUtilities::Header( 'Initialization' ) + | 
|               poadef.ConstraintInitializationText() + | 
|               BenchmarkUtilities::Header( 'Node Initialization' ) + | 
|               poadef.NodeInitializationText() + | 
|               BenchmarkUtilities::Header( 'Path type Initialization' ) + | 
|               poadef.PathTypeInitializationText() + | 
|               BenchmarkUtilities::Header( 'Goal Initialization' ) + | 
|               poadef.GoalInitializationText() + | 
|               BenchmarkUtilities::Header( 'Solution Initialization' ) + | 
|               poadef.SolutionInitializationText() + | 
|               BenchmarkUtilities::Header( 'Expressions' ) + | 
|               poadef.ExpressionInitializationText() + | 
|               BenchmarkUtilities::Header( 'Strategy: ' + poadef.CurrentStrategy().Name() ) + | 
|               poadef.CurrentStrategy().TextBody() + | 
|               BenchmarkUtilities::Header( 'Result' ) + | 
|               poadef.ResultText() + | 
|               BenchmarkUtilities::Header( 'On failure' ) + | 
|               poadef.OnFailureText(); | 
|      | 
|     BenchmarkUtilities::MakeSQLCompatible( result); | 
|      | 
|     return result; | 
|   *] | 
| } |