1 10 package org.jgap; 11 12 import java.io.*; 13 import java.util.*; 14 15 21 public interface IJGAPFactory extends Serializable { 22 23 final static String CVS_REVISION = "$Revision: 1.7 $"; 24 25 void setParameters(Collection a_parameters); 26 27 30 RandomGenerator createRandomGenerator(); 31 32 42 43 ICloneHandler getCloneHandlerFor(Object a_obj, Class a_classToClone); 44 45 55 56 int registerCloneHandler(ICloneHandler a_cloneHandler); 57 58 69 IInitializer getInitializerFor(Object a_obj, Class a_objToInit); 70 71 81 82 int registerInitializer(IInitializer a_chromIniter); 83 84 void setGeneticOperatorConstraint(IGeneticOperatorConstraint 85 a_constraint); 86 87 IGeneticOperatorConstraint getGeneticOperatorConstraint(); 88 89 99 100 ICompareToHandler getCompareToHandlerFor(Object a_obj, 101 Class a_classToCompareTo); 102 103 113 114 int registerCompareToHandler(ICompareToHandler a_compareToHandler); 115 } 116 | Popular Tags |