public class SChain extends Object implements SObserverRule
Constructor and Description |
---|
SChain(List<SObserverRule> ch)
Constructs a new chain for the set of subsumers.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(ClassifierStatus status,
int subClass,
int superClass)
Applies the completion rule considering the specified subsumption entry.
|
List<SObserverRule> |
getList()
Returns the list of subsumption observers.
|
String |
toString() |
public SChain(List<SObserverRule> ch)
ch
- list of rulespublic boolean apply(ClassifierStatus status, int subClass, int superClass)
SObserverRule
apply
in interface SObserverRule
status
- classifier statussubClass
- sub class to be appliedsuperClass
- super class to be appliedtrue
if and only if the rule was appliedpublic List<SObserverRule> getList()
Copyright © 2009–2015 Chair of Automata Theory - TU Dresden. All rights reserved.