public class FocusProjection extends java.lang.Object implements ProjectionToTerm
\find,
and that can be modified by the rule). Optionally, the projection can walk
"upwards" towards the root of the term/formula| Modifier and Type | Field and Description |
|---|---|
static ProjectionToTerm |
INSTANCE |
private int |
stepsUpwards |
| Modifier | Constructor and Description |
|---|---|
private |
FocusProjection(int stepsUpwards) |
| Modifier and Type | Method and Description |
|---|---|
static ProjectionToTerm |
create(int stepsUpwards) |
Term |
toTerm(RuleApp app,
PosInOccurrence pos,
Goal goal) |
public static final ProjectionToTerm INSTANCE
private final int stepsUpwards
public static ProjectionToTerm create(int stepsUpwards)
public Term toTerm(RuleApp app, PosInOccurrence pos, Goal goal)
toTerm in interface ProjectionToTerm