CGC_Codes

Custom Genetic Operator

Jan 28th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.44 KB | None | 0 0
  1. using System;
  2. using GAF;
  3.  
  4. namespace Operators
  5. {
  6.     public class SimpleOperator : IGeneticOperator
  7.     {
  8.         public void Invoke(Population currentPopulation,
  9.             ref Population newPopulation, FitneddFunction fitnessFunctionDelegate)
  10.             {
  11.                 throw new NotImplementedExepction();
  12.                
  13.             }
  14.            
  15.             public int GetOperatorInvokedEvauations()
  16.             {
  17.                 throw new NotImplementedExepction();
  18.             }
  19.            
  20.            
  21.             public bool Enabled { get; set; }
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment