Package edu.stanford.nlp.scenegraph
Class SceneGraphRelation
- java.lang.Object
-
- edu.stanford.nlp.scenegraph.SceneGraphRelation
-
- All Implemented Interfaces:
Comparable<SceneGraphRelation>
public class SceneGraphRelation extends Object implements Comparable<SceneGraphRelation>
- Author:
- Sebastian Schuster
-
-
Constructor Summary
Constructors Constructor Description SceneGraphRelation(SceneGraphNode source, SceneGraphNode target, String relation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SceneGraphRelation o)booleanequals(Object o)StringgetRelation()SceneGraphNodegetSource()SceneGraphNodegetTarget()inthashCode()
-
-
-
Constructor Detail
-
SceneGraphRelation
public SceneGraphRelation(SceneGraphNode source, SceneGraphNode target, String relation)
-
-
Method Detail
-
getSource
public SceneGraphNode getSource()
-
getTarget
public SceneGraphNode getTarget()
-
getRelation
public String getRelation()
-
compareTo
public int compareTo(SceneGraphRelation o)
- Specified by:
compareToin interfaceComparable<SceneGraphRelation>
-
-