Пример #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();
        }
 /// <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();
 }