public class WeightedPushdownSystem<N extends Location,D extends State,W extends Weight> extends Object implements IPushdownSystem<N,D,W>
| Modifier and Type | Field and Description |
|---|---|
protected Set<WPDSUpdateListener<N,D,W>> |
listeners |
protected Set<NormalRule<N,D,W>> |
normalRules |
protected Set<PopRule<N,D,W>> |
popRules |
protected Set<PushRule<N,D,W>> |
pushRules |
| Constructor and Description |
|---|
WeightedPushdownSystem() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addRule(Rule<N,D,W> rule) |
Set<Rule<N,D,W>> |
getAllRules() |
Set<NormalRule<N,D,W>> |
getNormalRules() |
Set<NormalRule<N,D,W>> |
getNormalRulesEnding(D start,
N string) |
Set<PopRule<N,D,W>> |
getPopRules() |
Set<PushRule<N,D,W>> |
getPushRules() |
Set<PushRule<N,D,W>> |
getPushRulesEnding(D start,
N string) |
Set<Rule<N,D,W>> |
getRulesStarting(D start,
N string) |
Set<D> |
getStates() |
void |
poststar(WeightedPAutomaton<N,D,W> initialAutomaton) |
void |
poststar(WeightedPAutomaton<N,D,W> initialAutomaton,
NestedWeightedPAutomatons<N,D,W> summaries) |
void |
prestar(WeightedPAutomaton<N,D,W> initialAutomaton) |
void |
registerUpdateListener(WPDSUpdateListener<N,D,W> listener) |
String |
toString() |
protected final Set<PushRule<N extends Location,D extends State,W extends Weight>> pushRules
protected final Set<NormalRule<N extends Location,D extends State,W extends Weight>> normalRules
public void registerUpdateListener(WPDSUpdateListener<N,D,W> listener)
registerUpdateListener in interface IPushdownSystem<N extends Location,D extends State,W extends Weight>public Set<NormalRule<N,D,W>> getNormalRules()
getNormalRules in interface IPushdownSystem<N extends Location,D extends State,W extends Weight>public Set<PopRule<N,D,W>> getPopRules()
getPopRules in interface IPushdownSystem<N extends Location,D extends State,W extends Weight>public Set<PushRule<N,D,W>> getPushRules()
getPushRules in interface IPushdownSystem<N extends Location,D extends State,W extends Weight>public Set<Rule<N,D,W>> getAllRules()
getAllRules in interface IPushdownSystem<N extends Location,D extends State,W extends Weight>public Set<Rule<N,D,W>> getRulesStarting(D start, N string)
getRulesStarting in interface IPushdownSystem<N extends Location,D extends State,W extends Weight>public Set<NormalRule<N,D,W>> getNormalRulesEnding(D start, N string)
getNormalRulesEnding in interface IPushdownSystem<N extends Location,D extends State,W extends Weight>public Set<PushRule<N,D,W>> getPushRulesEnding(D start, N string)
getPushRulesEnding in interface IPushdownSystem<N extends Location,D extends State,W extends Weight>public void poststar(WeightedPAutomaton<N,D,W> initialAutomaton, NestedWeightedPAutomatons<N,D,W> summaries)
public void poststar(WeightedPAutomaton<N,D,W> initialAutomaton)
public void prestar(WeightedPAutomaton<N,D,W> initialAutomaton)
Copyright © 2023. All rights reserved.