Beispiel #1
0
        static PhysicsTree()
        {
            root = ScienceNode.scienceNodeInst[typeof(Newton)];
            root.AddChild(ScienceNode.scienceNodeInst[typeof(Gauss)]);            
			root.AddChild (ScienceNode.scienceNodeInst[typeof(Mendeleev)]); 
			root.children[0].AddChild (ScienceNode.scienceNodeInst[typeof(Darwin)]); 
            //root.AddChild( ScienceNode.scienceNodeInst[typeof(Einstain)] );
            //root.children[1].AddChild( ScienceNode.scienceNodeInst[typeof(Fourier)] );
            //root.children[1].children[0].AddChild( ScienceNode.scienceNodeInst[typeof(Fatos)] );
        }
Beispiel #2
0
 static BiologyTree()
 {
     root = ScienceNode.scienceNodeInst[typeof(Darwin)];
 }
Beispiel #3
0
 public void AddChild(ScienceNode child)
 {
     children.Add(child);
     child.parent = this;
 }
Beispiel #4
0
 public void AddChild(ScienceNode child)
 {
     children.Add(child);
     child.parent = this;
 }
Beispiel #5
0
 static ChemistryTree()
 {
     root = ScienceNode.scienceNodeInst[typeof(Mendeleev)];
 }