Package modelcounter
Class AutomataBasedModelCounting
- java.lang.Object
-
- modelcounter.AutomataBasedModelCounting
-
public class AutomataBasedModelCounting extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intTIMEOUT
-
Constructor Summary
Constructors Constructor Description AutomataBasedModelCounting(gov.nasa.ltl.graph.Graph<String> input_graph, boolean exhaustive)AutomataBasedModelCounting(owl.ltl.LabelledFormula formula, boolean exhaustive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.ejml.data.DMatrixRMajbuildTransferMatrix(gov.nasa.ltl.graph.Graph<String> nba)Build the Transfer Matrix for the given DFABigIntegercount(int k)
-
-
-
Constructor Detail
-
AutomataBasedModelCounting
public AutomataBasedModelCounting(owl.ltl.LabelledFormula formula, boolean exhaustive)
-
AutomataBasedModelCounting
public AutomataBasedModelCounting(gov.nasa.ltl.graph.Graph<String> input_graph, boolean exhaustive)
-
-
Method Detail
-
count
public BigInteger count(int k)
-
buildTransferMatrix
public org.ejml.data.DMatrixRMaj buildTransferMatrix(gov.nasa.ltl.graph.Graph<String> nba)
Build the Transfer Matrix for the given DFA- Parameters:
nba- is the DFA- Returns:
- a n x n matrix M where M[i,j] is the number of transitions from state si to state sj
-
-