public abstract class AbstractDirectChase<T1 extends Rule,T2 extends AtomSet> extends Object implements Chase
Modifier | Constructor and Description |
---|---|
protected |
AbstractDirectChase(DirectRuleApplier<? super T1,? super T2> ruleApplier) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Calls next() until hasNext() return false.
|
void |
execute(long timeout)
Calls next() until hasNext() return false.
|
Profiler |
getProfiler() |
protected DirectRuleApplier<? super T1,? super T2> |
getRuleApplier() |
void |
setProfiler(Profiler profiler) |
protected void |
setRuleApplier(DirectRuleApplier<? super T1,? super T2> applier) |
protected AbstractDirectChase(DirectRuleApplier<? super T1,? super T2> ruleApplier)
public void execute() throws ChaseException
Chase
execute
in interface Chase
ChaseException
public void execute(long timeout) throws ChaseException, TimeoutException
Chase
TimeoutException
will be throw. A timeout of 0 means to wait forever.execute
in interface Chase
ChaseException
TimeoutException
protected DirectRuleApplier<? super T1,? super T2> getRuleApplier()
protected void setRuleApplier(DirectRuleApplier<? super T1,? super T2> applier)
public void setProfiler(Profiler profiler)
setProfiler
in interface Profilable
public Profiler getProfiler()
getProfiler
in interface Profilable
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.