|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dllearner.refinementoperators.OperatorInverter
public class OperatorInverter
The class uses an existing refinement operator and inverts it, i.e. a downward refinement operator is turned into an upward refinement operator and vice versa.
| Constructor Summary | |
|---|---|
OperatorInverter(RefinementOperator operator)
|
|
| Method Summary | |
|---|---|
Set<Description> |
refine(Description description)
Standard refinement operation. |
Set<Description> |
refine(Description description,
int maxLength)
Optional refinement operation, where the learning algorithm can specify an additional bound on the length of descriptions. |
Set<Description> |
refine(Description description,
int maxLength,
List<Description> knownRefinements)
Optional refinement operation, where the learning algorithm can specify an additional bound on the length of descriptions and a list of known refinements, which do not need to be returned. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperatorInverter(RefinementOperator operator)
| Method Detail |
|---|
public Set<Description> refine(Description description)
RefinementOperator
refine in interface RefinementOperatordescription - The description, which will be refined.
public Set<Description> refine(Description description,
int maxLength)
RefinementOperator
refine in interface RefinementOperatordescription - The description, which will be refined.maxLength - The maximum length of returned description, where length is defined by KBElement.getLength().
public Set<Description> refine(Description description,
int maxLength,
List<Description> knownRefinements)
RefinementOperator
refine in interface RefinementOperatordescription - The description, which will be refined.maxLength - The maximum length of returned description, where length is defined by KBElement.getLength().knownRefinements - A collection of known refinements, which do not need to be returned.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||