コード例 #1
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="stage"></param>
        public BranchAndBound(Stage stage)
        {
            evaluation = new Evaluating(stage);

            notVisited = evaluation.shallowClone(stage.scenes);
            //visited = evaluation.shallowClone(stage.scenes);
            runBB();
        }
コード例 #2
0
 /// <summary>
 /// Generate a new instance of this class
 /// </summary>
 /// <param name="stage"></param>
 public GeneticAlgorithm(Stage stage)
 {
     this.stage = stage;
     evaluating = new Evaluating(stage);;
     startTest();
 }