Beispiel #1
0
        public override bool IsEqual(GenericNode N2)
        {
            NodeLaby NL = (NodeLaby)(N2);

            return(NL.Position == Position);
        }
Beispiel #2
0
 public abstract double GetArcCost(GenericNode N2);
Beispiel #3
0
 public void SetNoeud_Parent(GenericNode g)
 {
     ParentNode = g;
     g.Enfants.Add(this);
 }
Beispiel #4
0
 // Méthodes abstrates, donc à surcharger obligatoirement avec override dans une classe fille
 public abstract bool IsEqual(GenericNode N2);
Beispiel #5
0
        protected List <GenericNode> Enfants; // noeuds enfants

        public GenericNode()
        {
            ParentNode = null;
            Enfants    = new List <GenericNode>();
        }