|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISip
A SIP (Sideway Information Passing) to determine which variable of which literal was passed/bound by which literal.
| Method Summary | |
|---|---|
boolean |
containsVertex(ILiteral literal)
Determines whether the sip constains a specific literal. |
Set<IVariable> |
getBoundVariables(ILiteral literal)
Determines all variables, which are passed to this literal. |
Set<ILiteral> |
getDepends(ILiteral literal)
Searches for literals on which the submitted literal depends. |
Set<LabeledEdge<ILiteral,Set<IVariable>>> |
getEdgesEnteringLiteral(ILiteral literal)
Searches for edges entering this literal. |
Set<LabeledEdge<ILiteral,Set<IVariable>>> |
getEdgesLeavingLiteral(ILiteral literal)
Searches for edges leaving this literal. |
Set<ILiteral> |
getLeafVertices()
Determines the leafes of this graph. |
Comparator<ILiteral> |
getLiteralComparator()
Returns the Comparator to compare literals according to their position in the sips. |
Set<ILiteral> |
getRootVertices()
Determines the roots of this graph. |
Set<IVariable> |
variablesPassedByLiteral(ILiteral source,
ILiteral target)
Determines the set of variables passed to one literal by one specific edge. |
| Method Detail |
|---|
Set<IVariable> getBoundVariables(ILiteral literal)
literal - the literal for which to determine the variables
IllegalArgumentException - if the literal is nullSet<ILiteral> getDepends(ILiteral literal)
literal - the literal for which to search for dependencies
IllegalArgumentException - if the literal is nullSet<LabeledEdge<ILiteral,Set<IVariable>>> getEdgesEnteringLiteral(ILiteral literal)
literal - the literal for which to search for entering edges
IllegalArgumentException - if the literal is nullSet<LabeledEdge<ILiteral,Set<IVariable>>> getEdgesLeavingLiteral(ILiteral literal)
literal - the literal for which to search for entering edges
IllegalArgumentException - if the literal is null
Set<IVariable> variablesPassedByLiteral(ILiteral source,
ILiteral target)
source - the source of the edgetarget - the target of the edge
IllegalArgumentException - if one of the literal is nullboolean containsVertex(ILiteral literal)
literal - the literal for which to search for
IllegalArgumentException - if the literal is nullSet<ILiteral> getRootVertices()
Set<ILiteral> getLeafVertices()
Comparator<ILiteral> getLiteralComparator()
SipHelper#getAdornedSip(org.deri.iris.evaluation.common.AdornedProgram.IAdornedRule)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||