Package es.urjc.etsii.grafo.MST.model
Class MSTInstance
java.lang.Object
es.urjc.etsii.grafo.io.Instance
es.urjc.etsii.grafo.MST.model.MSTInstance
- All Implemented Interfaces:
Comparable<Instance>
-
Field Summary
Fields inherited from class es.urjc.etsii.grafo.io.Instance
LOAD_TIME_NANOS
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class es.urjc.etsii.grafo.io.Instance
customProperties, equals, getId, getPath, getProperty, getPropertyOrDefault, getUniquePropertiesKeys, hashCode, resetProperties, setPath, setProperty, toString
-
Constructor Details
-
MSTInstance
-
-
Method Details
-
v
public int v() -
e
public int e() -
getEdges
-
getEdges
-
compareTo
How should instances be ordered, when listing and solving them. If not implemented, defaults to lexicographic sort by instance name- Specified by:
compareTo
in interfaceComparable<Instance>
- Overrides:
compareTo
in classInstance
- Parameters:
other
- the other instance to be compared against this one- Returns:
- comparison result
-