public class CA extends FSA implements java.io.Serializable
Constructor and Description |
---|
CA()
Invoke the super constructor and take in input the added new parameters of the automaton
|
CA(int rank,
int[] initial,
int[] states,
int[][] finalstates,
CATransition[] tra) |
Modifier and Type | Method and Description |
---|---|
boolean |
agreement() |
int[][] |
allFinalStates() |
int[][] |
branchingCondition() |
CA |
clone() |
protected Simulator |
createSim()
Create an instance of the simulator for an FMA
|
protected Transition |
createTransition(int i) |
int[][] |
extendedBranchingCondition() |
int[][] |
getFinalStatesCA() |
int[] |
getInitialCA() |
int |
getRank() |
int[] |
getStatesCA() |
CATransition[] |
getTransition() |
CATransition[] |
liable() |
int[] |
mixedChoice() |
CA |
mpc()
compute the most permissive controller for agreement
|
void |
print()
Print in output a description of the automaton
|
int |
prodStates() |
CA |
proj(int i)
compute the projection on the i-th principal, or null if rank=1
|
boolean |
safe() |
CA |
smpc()
compute the most permissive controller for strong agreement
|
boolean |
strongAgreement() |
CATransition[] |
strongLiable() |
boolean |
strongSafe() |
int |
sumStates() |
getFinalStates, getInitial, getStates, load, run, setTransition, write
public CA()
public CA(int rank, int[] initial, int[] states, int[][] finalstates, CATransition[] tra)
public void print()
protected Simulator createSim()
protected Transition createTransition(int i)
createTransition
in class FSA
i
- the index of the transition to be showed as a message to the userpublic int[][] getFinalStatesCA()
public int[] getStatesCA()
public int[] getInitialCA()
public int getRank()
public CATransition[] getTransition()
getTransition
in class FSA
public int sumStates()
public int prodStates()
public CA clone()
clone
in class java.lang.Object
public CA proj(int i)
i
- index of the CApublic CA smpc()
public CA mpc()
public boolean strongSafe()
public boolean strongAgreement()
public boolean safe()
public boolean agreement()
public int[][] branchingCondition()
public int[][] extendedBranchingCondition()
public int[] mixedChoice()
public int[][] allFinalStates()
public CATransition[] liable()
public CATransition[] strongLiable()