private bool AreRangedEqualLength(QueryFeatureVector query, Problem <Hypergraph.EdgeAnnotation> thisProblem, Problem <Hypergraph.EdgeAnnotation> thatProblem) { return(query.lengthPartitions.GetPartitionIndex(thisProblem.GetLength()) == query.lengthPartitions.GetPartitionIndex(thatProblem.GetLength())); }
private bool AreEqualLength(Problem <Hypergraph.EdgeAnnotation> thisProblem, Problem <Hypergraph.EdgeAnnotation> thatProblem) { return(thisProblem.GetLength() == thatProblem.GetLength()); }