示例#1
0
        public MainWindow()
        {
            InitializeComponent();

            Info.Init();

            //TNonlocalRoy R = new TNonlocalRoy();

            //for (int l = 0; l < Info.L; l++)
            //{
            //    R.Run();
            //}

            //R.G.Print("n.txt");

            //Close();


            TGraph Graph = new TGraph(g);

//            Roy = new TIJRoy(Graph);
            Roy = new TMyRoy(Graph);

            TX X0 = new TX();

            X0[0] = 1;
            X0[1] = 1;

            Graph.SetU(X0);

            Timer          = new DispatcherTimer();
            Timer.Tick    += new EventHandler(onTick);
            Timer.Interval = new TimeSpan(0, 0, 0, 0, 10);

            Timer.Start();

            //Close();
        }
示例#2
0
文件: TGraphRoy.cs 项目: rwsh/AI-JRoy
 public TGraphRoy(TGraph Graph) : base()
 {
     this.Graph = Graph;
 }
示例#3
0
 public TIJRoy(TGraph Graph) : base(Graph)
 {
 }
示例#4
0
文件: TDERoy.cs 项目: rwsh/AI-JRoy
 public TDERoy(TGraph Graph) : base(Graph)
 {
 }
示例#5
0
 public TMyRoy(TGraph Graph) : base(Graph)
 {
     Info.N = 2;
 }