コード例 #1
0
 public SalesmanDisplay()
 {
     f          = new FilereadtoPoints("TravellingSalesman.txt");
     elips      = new List <EllipseGeometry>();
     t          = new DispatcherTimer();
     t.Interval = new TimeSpan(0, 0, 0, 0, 10);
     t.Tick    += T_Tick;
     t.Start();
 }
コード例 #2
0
 public SimulatedDisplay()
 {
     points   = new List <EllipseGeometry>();
     boundary = new List <EllipseGeometry>();
     f        = new FilereadtoPoints("SmallestBoundaryPolygon_Simulated.txt");
     Point();
     Boundarycreate();
     t          = new DispatcherTimer();
     t.Interval = new TimeSpan(0, 0, 0, 0, 1);
     t.Tick    += T_Tick;
     t.Start();
 }
コード例 #3
0
 public Displayer()
 {
     points   = new List <EllipseGeometry>();
     boundary = new List <EllipseGeometry>();
     f        = new FilereadtoPoints("SmallestBoundaryPolygon_HillClimbingStochastic.txt");
     Point();
     Boundarycreate();
     t          = new DispatcherTimer();
     t.Interval = new TimeSpan(0, 0, 0, 0, 1);
     t.Tick    += T_Tick;
     t.Start();
 }