edu.lehigh.swat.obione
Class LAVMapView
java.lang.Object
edu.lehigh.swat.obione.Map
edu.lehigh.swat.obione.LAVMapView
- Direct Known Subclasses:
- SourceView
public class LAVMapView
- extends Map
Models a GAV peer map
- Author:
- abirqasem
|
Constructor Summary |
LAVMapView(MapAtom head,
java.util.Vector<MapAtom> body)
A LAVMapView in our system is head and list of body. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
body
private java.util.Vector<MapAtom> body
head
private MapAtom head
LAVMapView
public LAVMapView(MapAtom head,
java.util.Vector<MapAtom> body)
- A LAVMapView in our system is head and list of body. Reformulator
attempts to match a goal node's (or its sub predicate's) atom with any of the atoms in the body of a
LAVMapView
getSourceOnt
public java.lang.String getSourceOnt()
- Specified by:
getSourceOnt in class Map
getTargetOnt
public java.lang.String getTargetOnt()
- Specified by:
getTargetOnt in class Map
getBody
public java.util.Vector<MapAtom> getBody()
getHead
public MapAtom getHead()
getRule
public org.semanticweb.kaon2.api.rules.Rule getRule()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getVariables
public java.util.List<org.semanticweb.kaon2.api.rules.Variable> getVariables()
- Returns the variables of map
- Specified by:
getVariables in class Map
- Parameters:
m -
- Returns:
main
public static void main(java.lang.String[] args)
- Test method
- Parameters:
args -