コード例 #1
0
ファイル: Node.cs プロジェクト: strogo/nlpvisualizer
        Point mLocation; // node position, relative to the origin

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Initialises a new instance of the Node class.
        /// </summary>
        public Node()
        {
            mLocation = Point.Empty;
            mDiagram = null;
            mConnections = new List<Node>();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: strogo/nlpvisualizer
		public Program()
		{
			app = this;
			displayedSentenceIndices = new List<int>();
			keywordRelevanceMap = new Dictionary<string, double>();
			sentenceKeywordMap = new Dictionary<int, List<string>>();
			keywordSentenceMap = new Dictionary<string, List<int>>();
			keywordByRelevanceList = new SortedList<double, string>();
			mDiagram = new Diagram();
		}