Uses of Class
io.github.contractautomata.catlib.automaton.state.State
-
Packages that use State Package Description io.github.contractautomata.catlib.automaton The automaton package contains the class implementing an automaton.
EachAutomatonhas a set of transitions, a set of states, an initial state and a set of final states.
To be composable, an Automaton implements the interfaceRanked.io.github.contractautomata.catlib.automaton.transition The transition package groups the transitions of an automaton.
Transitionis the super class, it has a source and target states and a label.
ModalTransitionextendsTransitionto include modalities.
Modalities of Contract Automata are permicodeed and necessary.
A necessary transition has a label that must be match in a composition whilst a permicodeed transition can be withdrawn.
Necessary transitions can be further distinguished between urgent and lazy, where urgent is the classic
notion of uncontrollability, whereas lazy is a novel notion introduced in contract automata.
Lazy transitions can be either controllable or uncontrollable, according to a given predicate evaluated
on the whole automaton to which this transition belongs to.
Class diagram of this package:

io.github.contractautomata.catlib.converters The converters package contains the classes for I/O operations (import/export).io.github.contractautomata.catlib.family The family package groups together the functionalities that extend
contract automata to product lines.
Featured Modal Contract Automata (FMCA) is the name of this extension.io.github.contractautomata.catlib.operations This package groups the various operations that can be performed on automata. -
-
Uses of State in io.github.contractautomata.catlib.automaton
Classes in io.github.contractautomata.catlib.automaton with type parameters of type State Modifier and Type Class Description classAutomaton<S1,L1,S extends State<S1>,T extends Transition<S1,L1,S,? extends Label<L1>>>This class implements an automaton. -
Uses of State in io.github.contractautomata.catlib.automaton.transition
Classes in io.github.contractautomata.catlib.automaton.transition with type parameters of type State Modifier and Type Class Description classModalTransition<S1,L1,S extends State<S1>,L extends Label<L1>>Class implementing a Modal Transition of an Automaton.classTransition<S1,L1,S extends State<S1>,L extends Label<L1>>Class implementing a Transition of an Automaton. -
Uses of State in io.github.contractautomata.catlib.converters
Methods in io.github.contractautomata.catlib.converters that return types with arguments of type State Modifier and Type Method Description Automaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,L>>AutDataConverter. importMSCA(String filename)Impor an automaton from a textual representationAutomaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,L>>AutDataConverter. importMSCA(String filename)Impor an automaton from a textual representation -
Uses of State in io.github.contractautomata.catlib.family
Method parameters in io.github.contractautomata.catlib.family with type arguments of type State Modifier and Type Method Description booleanProduct. checkForbidden(Set<? extends ModalTransition<String,Action,State<String>,CALabel>> tr)Returns true if all forbidden actions of this product are not available in the transitions tr, i.e, all features name are not equal to any of the content of the actions of the transitions in tr.<S1> booleanProduct. checkRequired(Set<? extends ModalTransition<S1,Action,State<S1>,CALabel>> tr)Returns true if all required actions are available in the transitions tr, i.e, all features name of this product are equal to the content of some action of some transition in tr.booleanProduct. isValid(Automaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,CALabel>> aut)Returns true if the set of transitions of aut satisfies this.checkForbidden and this.checkRequiredbooleanProduct. isValid(Automaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,CALabel>> aut)Returns true if the set of transitions of aut satisfies this.checkForbidden and this.checkRequiredConstructor parameters in io.github.contractautomata.catlib.family with type arguments of type State Constructor Description FMCA(Automaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,CALabel>> aut, Family family)Constructor for an FMCA from an automaton and a family.FMCA(Automaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,CALabel>> aut, Family family)Constructor for an FMCA from an automaton and a family.FMCA(Automaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,CALabel>> aut, Set<Product> products)This constructor instantiates the family of products by performing a pre-processing, to polish the set of products prod given as argument.FMCA(Automaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,CALabel>> aut, Set<Product> products)This constructor instantiates the family of products by performing a pre-processing, to polish the set of products prod given as argument. -
Uses of State in io.github.contractautomata.catlib.operations
Classes in io.github.contractautomata.catlib.operations with type parameters of type State Modifier and Type Class Description classCompositionFunction<S1,S extends State<S1>,L extends Label<Action>,T extends ModalTransition<S1,Action,S,L>,A extends Automaton<S1,Action,S,T>>Class implementing the Composition Function.classModelCheckingFunction<S1,S extends State<S1>,L extends Label<Action>,T extends ModalTransition<S1,Action,S,L>,A extends Automaton<S1,Action,S,T>>Class implementing the Model Checking Function.classModelCheckingSynthesisOperator<S1,S extends State<S1>,L extends L2,T extends ModalTransition<S1,Action,S,L>,A extends Automaton<S1,Action,S,T>,L2 extends Label<Action>,T2 extends ModalTransition<S1,Action,S,L2>,A2 extends Automaton<S1,Action,S,T2>>This class implements a model checking operation followed by a synthesis operation.classSynthesisOperator<S1,L1,S extends State<S1>,L extends Label<L1>,T extends ModalTransition<S1,L1,S,L>,A extends Automaton<S1,L1,S,T>>Class implementing the abstract synthesis operator.
The synthesis operation is an automatic refinement of an automaton to a refined one where
given conditions hold.Method parameters in io.github.contractautomata.catlib.operations with type arguments of type State Modifier and Type Method Description Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>ChoreographySynthesisOperator. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>> arg)Applies the choreography synthesis operator to autAutomaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>ChoreographySynthesisOperator. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>> arg)Applies the choreography synthesis operator to autAutomaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>MpcSynthesisOperator. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>> aut)Applies the mpc synthesis to aut.Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>MpcSynthesisOperator. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>> aut)Applies the mpc synthesis to aut.Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>OrchestrationSynthesisOperator. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>> aut)Applies the orchestration synthesis to aut.Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>OrchestrationSynthesisOperator. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>> aut)Applies the orchestration synthesis to aut.Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>ProductOrchestrationSynthesisOperator. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>> aut)Apply the product orchestration synthesis operator to aut.Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>ProductOrchestrationSynthesisOperator. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>> aut)Apply the product orchestration synthesis operator to aut.Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>ProjectionFunction. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>> aut, Integer indexprincipal, java.util.function.ToIntFunction<ModalTransition<S1,Action,State<S1>,CALabel>> getNecessaryPrincipal)Apply the projection function.Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>ProjectionFunction. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>> aut, Integer indexprincipal, java.util.function.ToIntFunction<ModalTransition<S1,Action,State<S1>,CALabel>> getNecessaryPrincipal)Apply the projection function.Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>ProjectionFunction. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>> aut, Integer indexprincipal, java.util.function.ToIntFunction<ModalTransition<S1,Action,State<S1>,CALabel>> getNecessaryPrincipal)Apply the projection function.Set<ModalTransition<S1,Action,State<S1>,L>>RelabelingOperator. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,L>> aut)This method applies the relabeling operator.Set<ModalTransition<S1,Action,State<S1>,L>>RelabelingOperator. apply(Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,L>> aut)This method applies the relabeling operator.Automaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,CALabel>>UnionFunction. apply(List<Automaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,CALabel>>> aut)Compute the union function.Automaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,CALabel>>UnionFunction. apply(List<Automaton<String,Action,State<String>,ModalTransition<String,Action,State<String>,CALabel>>> aut)Compute the union function.booleanChoreographySynthesisOperator. satisfiesBranchingCondition(ModalTransition<S1,Action,State<S1>,CALabel> tra, Set<ModalTransition<S1,Action,State<S1>,CALabel>> trans, Set<State<S1>> bad)Return true if the set of transitions and bad states violate the branching condition.booleanChoreographySynthesisOperator. satisfiesBranchingCondition(ModalTransition<S1,Action,State<S1>,CALabel> tra, Set<ModalTransition<S1,Action,State<S1>,CALabel>> trans, Set<State<S1>> bad)Return true if the set of transitions and bad states violate the branching condition.Constructor parameters in io.github.contractautomata.catlib.operations with type arguments of type State Constructor Description ChoreographySynthesisOperator(java.util.function.Predicate<CALabel> req, Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,Label<Action>>> prop)Constructor for the choreography synthesis operator enforcing the requirement req and property prop.ChoreographySynthesisOperator(java.util.function.Predicate<CALabel> req, Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,Label<Action>>> prop)Constructor for the choreography synthesis operator enforcing the requirement req and property prop.ChoreographySynthesisOperator(java.util.function.Predicate<CALabel> req, java.util.function.Function<java.util.stream.Stream<ModalTransition<S1,Action,State<S1>,CALabel>>,Optional<ModalTransition<S1,Action,State<S1>,CALabel>>> choice)Constructor for the choreography synthesis operator enforcing the requirement req.ChoreographySynthesisOperator(java.util.function.Predicate<CALabel> req, java.util.function.Function<java.util.stream.Stream<ModalTransition<S1,Action,State<S1>,CALabel>>,Optional<ModalTransition<S1,Action,State<S1>,CALabel>>> choice)Constructor for the choreography synthesis operator enforcing the requirement req.MpcSynthesisOperator(java.util.function.Predicate<CALabel> req, Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,Label<Action>>> prop)Constructor for the mpc synthesis enforcing the requirement req and property prop.MpcSynthesisOperator(java.util.function.Predicate<CALabel> req, Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,Label<Action>>> prop)Constructor for the mpc synthesis enforcing the requirement req and property prop.MSCACompositionFunction(List<Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>> aut, java.util.function.Predicate<CALabel> pruningPred)Invokes the constructor of the superclass instantiating the generic typesMSCACompositionFunction(List<Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,CALabel>>> aut, java.util.function.Predicate<CALabel> pruningPred)Invokes the constructor of the superclass instantiating the generic typesOrchestrationSynthesisOperator(java.util.function.Predicate<CALabel> req, Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,Label<Action>>> prop)Constructor for the orchestration synthesis operator enforcing the requirement req and property prop.OrchestrationSynthesisOperator(java.util.function.Predicate<CALabel> req, Automaton<S1,Action,State<S1>,ModalTransition<S1,Action,State<S1>,Label<Action>>> prop)Constructor for the orchestration synthesis operator enforcing the requirement req and property prop.
-