コード例 #1
0
        public ThesisProgram()
        {
            this.homeFolder = System.IO.Directory.GetCurrentDirectory();
            while (!System.IO.Directory.Exists(homeFolder + "\\ProblemData"))
            {
                homeFolder = System.IO.Directory.GetParent(homeFolder).FullName;
            }
            string destinationFolder = homeFolder + "\\ProblemData\\";

            problemDescriptionFile = destinationFolder + "problemdescription";
            cellData    = new FileInputData(new InputData(problemDescriptionFile)).FetchData();
            inputParams = new SolverInputParameters();
        }
コード例 #2
0
 public Node(int nodeId, CellDescription _parent)
 {
     parent = _parent;
     Id     = nodeId;
 }