Example #1
0
        public OptimizationParam OptimizationGetParam()
        {
            OptimizationParam param = new OptimizationParam();

            errorHandler(EdkDll.EE_OptimizationGetParam(param.GetHandle()));
            return(param);
        }
Example #2
0
 public void OptimizationEnable(OptimizationParam param)
 {
     if (param == null)
     {
         throw new NullReferenceException();
     }
     errorHandler(EdkDll.EE_OptimizationEnable(param.GetHandle()));
 }
Example #3
0
 /// <summary>
 /// Gets optimization parameter.  If optimization is not enabled (this can be checked with EE_OptimmizationIsEnabled) then the results attached to the returned parameter are undefined.
 /// </summary>
 /// <returns></returns>
 public OptimizationParam OptimizationGetParam()
 {
     OptimizationParam param = new OptimizationParam();
     errorHandler(EdkDll.EE_OptimizationGetParam(param.GetHandle()));
     return param;
 }
Example #4
0
 /// <summary>
 /// Enables optimization. EmoEngine will try to optimize its performance according to the information passed in with optimization parameter. EmoEngine guarantees the correctness of the results of vital algorithms. For algorithms that are not vital, results are undefined.
 /// </summary>
 /// <param name="param">OptimizationParam instance which includes information about how to optimize the performance of EmoEngine.</param>
 public void OptimizationEnable(OptimizationParam param)
 {
     if (param == null)
     {
         throw new NullReferenceException();
     }
     errorHandler(EdkDll.EE_OptimizationEnable(param.GetHandle()));
 }