public class DescribeGraph extends Object
Constructor and Description |
---|
DescribeGraph(NeighborGraph graph,
boolean includePayload)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
describe()
Generates a string describing the entire graph (vertices and edges)
|
String |
describeEdge(ObjectVertex src,
ObjectVertex dest,
ObjectVertex merged,
double priority,
boolean doMerge)
Generates a string to describe a potential merge
|
String |
describeMerge(ObjectVertex omMerged,
TypedEdge<ObjectVertex,PrioritisedVertex> bestImprovement) |
public DescribeGraph(NeighborGraph graph, boolean includePayload)
graph
- the graph to describeincludePayload
- whether to include payload values in the log messagespublic String describe()
public String describeEdge(ObjectVertex src, ObjectVertex dest, ObjectVertex merged, double priority, boolean doMerge)
src
- dest
- merged
- priority
- doMerge
- public String describeMerge(ObjectVertex omMerged, TypedEdge<ObjectVertex,PrioritisedVertex> bestImprovement)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.