/// <summary> /// Creates a subset from the given subset array. /// </summary> /// <param name="search">The associated search.</param> /// <param name="sub">The subset array.</param> public Subset(SrlgGraphSearch <V, E> search, bool[] sub) { this.search = search; subset = (bool[])sub.Clone(); not = new bool[subset.Length]; for (int i = 0; i < subset.Length; ++i) { not[i] = !subset[i]; } }
public InternalResult(SrlgGraphSearch <V, E> search, IResult <V, E> result, ISet <DisjointPathPair <V, E> > dpps) { this.search = search; this.result = result; this.dpps = dpps; }