public WeightingComparer(Weightings weights) { if (weights == null) { throw new ArgumentNullException("weights"); } _weights = weights; }
/// <summary> /// Creates a new Weighted Optimiser which reads weights from the given RDF Graph /// </summary> /// <param name="g">Graph</param> public WeightedOptimiser(IGraph g) { _weights = new Weightings(g); }