public PartitionVertexIterable(IEnumerable <IVertex> iterable, PartitionGraph graph) { if (iterable == null) { throw new ArgumentNullException(nameof(iterable)); } if (graph == null) { throw new ArgumentNullException(nameof(graph)); } _iterable = iterable; _graph = graph; }
public PartitionIndex(IIndex rawIndex, PartitionGraph graph) { if (rawIndex == null) { throw new ArgumentNullException(nameof(rawIndex)); } if (graph == null) { throw new ArgumentNullException(nameof(graph)); } RawIndex = rawIndex; Graph = graph; }
public PartitionEdge(IEdge edge, PartitionGraph innerTinkerGrapĥ) : base(edge, innerTinkerGrapĥ) { if (edge == null) { throw new ArgumentNullException(nameof(edge)); } if (innerTinkerGrapĥ == null) { throw new ArgumentNullException(nameof(innerTinkerGrapĥ)); } _edge = edge; }
public PartitionVertex(IVertex vertex, PartitionGraph innerTinkerGrapĥ) : base(vertex, innerTinkerGrapĥ) { if (vertex == null) { throw new ArgumentNullException(nameof(vertex)); } if (innerTinkerGrapĥ == null) { throw new ArgumentNullException(nameof(innerTinkerGrapĥ)); } Vertex = vertex; }
protected PartitionElement(IElement element, PartitionGraph partitionInnerTinkerGrapĥ) : base(partitionInnerTinkerGrapĥ) { if (element == null) { throw new ArgumentNullException(nameof(element)); } if (partitionInnerTinkerGrapĥ == null) { throw new ArgumentNullException(nameof(partitionInnerTinkerGrapĥ)); } Element = element; PartitionInnerTinkerGrapĥ = partitionInnerTinkerGrapĥ; }