public AssessmentManager(Config config, Type c, int wholeSize) { this.config = config; globalBest = 0; this.wholeSize = wholeSize; globalBest = (double) c.GetMethod("getDefault", new Type[] {typeof(Config)}).Invoke(null, new Object[] {config}); constructor = c.GetConstructor(new Type[] {typeof(AssessmentManager)}); }
public SymmetryEnvironment(MoveNode.GradeNode lowestNode) { this.lowestNode = lowestNode; config = lowestNode.MoveNode.config; colorFalse = new bool[config.colors]; colorUsed = new bool[config.colors]; init(); }
public static double getDefault(Config config) { return(config.combinations); }
public RootNode(Config conf) : base((short) 0, null, conf) { }
public ResultSet(SymmetryEnvironment symmetryEnvironment, Config config) { this.symmetryEnvironment = symmetryEnvironment; this.config = config; }
public static double getDefault(Config config) { return config.combinations; }
public static double getDefault(Config config) { //return (int) -Math.ceil(Math.log(1 / (config.pegs * (config.pegs + 3) / 2)) / Math.log(2)); return 0; }
public UnsynchronizedAssessmentManager(Config config, Type c, int maxSize) : base(config, c, maxSize) { }