public Display(MainWindow mw) { _mw = mw; _zoom = 12; _size = 5; _stroke = 1; _canvas = mw.Canvas; _types = new Dictionary<string, Color> { {"predict", Colors.Red}, {"inertia", Colors.Blue}, {"real", Colors.Chartreuse}, {"radius", Colors.Black} }; _nums = new Dictionary<string, int> {{"predict", 0}, {"inertia", 0}, {"real", 0}, {"radius", 0}}; }
public Controller(MainWindow mw, NaviData nd) { _mw = mw; _nd = nd; }
/// <summary> /// Constructor /// </summary> /// <param name="mw"></param> public NaviData(MainWindow mw) { _mw = mw; _rssData = new Dictionary<int, Dictionary<string, double>>(); _oriData = new Dictionary<int, double>(); TrStrength = new Dictionary<string, List<double>>(); TrX = new Dictionary<string, List<double>>(); TrY = new Dictionary<string, List<double>>(); _trainingDataPath = ""; IsTraingDataReady = false; IsNaviDataReady = false; }