Package edu.gsu.cs.dmlab.solgrind.index
Class RelationEdge
- java.lang.Object
-
- org.jgrapht.graph.DefaultEdge
-
- org.jgrapht.graph.DefaultWeightedEdge
-
- edu.gsu.cs.dmlab.solgrind.index.RelationEdge
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RelationEdge extends org.jgrapht.graph.DefaultWeightedEdge
- Author:
- berkay - Jul 28, 2016
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RelationEdge.RelationType
-
Constructor Summary
Constructors Constructor Description RelationEdge()
RelationEdge(RelationEdge.RelationType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
RelationEdge.RelationType
getRelation()
double
getWeight()
void
setRelation(RelationEdge.RelationType relation)
void
setRelation(String relation)
String
toString()
-
-
-
Constructor Detail
-
RelationEdge
public RelationEdge()
-
RelationEdge
public RelationEdge(RelationEdge.RelationType type)
-
-
Method Detail
-
getRelation
public RelationEdge.RelationType getRelation()
-
setRelation
public void setRelation(RelationEdge.RelationType relation)
-
setRelation
public void setRelation(String relation)
-
getWeight
public double getWeight()
- Overrides:
getWeight
in classorg.jgrapht.graph.DefaultWeightedEdge
-
toString
public String toString()
- Overrides:
toString
in classorg.jgrapht.graph.DefaultEdge
-
-