Esempio n. 1
0
        private SituationEdge <T> CreateEdgeTo(SituationNode <T> Node, IRule <T> Rule, ISituationPredicate <T> Predicate)
        {
            SituationEdge <T> edge;

            edge = new SituationEdge <T>(Rule, Predicate, Node);

            return(edge);
        }
Esempio n. 2
0
        private SituationNode <T> CreateNode(ISituationGraph <T> Graph)
        {
            SituationNode <T> node;

            node = new SituationNode <T>();
            Graph.Add(node);

            return(node);
        }