Esempio n. 1
0
        protected internal virtual void AddVertex(int vertexPosition, int vertexValue, int vertexClause, VertexNodeStateContextFactory <V> factory)
        {
            var context = factory.ConstructDefaultNodeContext(vertexPosition);

            context.Node.Value  = vertexValue;
            context.Node.Clause = vertexClause;
            this.VertexNodeStateContextContainer.Add(vertexPosition, context);
        }
Esempio n. 2
0
 protected internal virtual void AddVertex(int vertexPosition, VertexNodeStateContextFactory <V> factory)
 {
     this.VertexNodeStateContextContainer.Add(vertexPosition, factory.ConstructDefaultNodeContext(vertexPosition));
 }