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); }
protected internal virtual void AddVertex(int vertexPosition, VertexNodeStateContextFactory <V> factory) { this.VertexNodeStateContextContainer.Add(vertexPosition, factory.ConstructDefaultNodeContext(vertexPosition)); }