C# Class Microsoft.Automata.MSO.Mona.MonaProgram

Mostra file Open project: AutomataDotNet/Automata Class Usage Examples

Public Properties

Property Type Description
allpos MonaAllposDecl
declarations Cons
defaultwhere1 MonaDefaultWhereDecl
defaultwhere2 MonaDefaultWhereDecl
token Token
vars0 List
vars1 List
vars2 List
varsT List

Public Methods

Method Description
Print ( StringBuilder sb ) : void
ToMSO ( ) : MSOFormula
Typecheck ( ) : void

Private Methods

Method Description
AddConstraints ( MSOFormula psi_x, Variable x, MSOFormula psi_y, Variable y, MSOFormula res ) : MSOFormula
ConvertEmptyset ( MSOFormula &psi ) : Variable
ConvertEq ( MonaExpr t1, MonaExpr t2, MonaParam>.MapStack locals ) : MSOFormula
ConvertEq ( bool fo, MonaExpr t1, MonaExpr t2, MonaParam>.MapStack locals ) : MSOFormula
ConvertFormula ( MonaExpr expr, MonaParam>.MapStack locals ) : MSOFormula
ConvertIn ( MonaExpr t1, MonaExpr t2, MonaParam>.MapStack locals ) : MSOFormula
ConvertInter ( MonaExpr set1, MonaExpr set2, MonaParam>.MapStack locals, MSOFormula &pred ) : Variable
ConvertIsEmpty ( MonaExpr set, MonaParam>.MapStack locals ) : MSOFormula
ConvertLe ( MonaExpr t1, MonaExpr t2, MonaParam>.MapStack locals ) : MSOFormula
ConvertLt ( MonaExpr t1, MonaExpr t2, MonaParam>.MapStack locals ) : MSOFormula
ConvertPredApp ( MonaPredApp predApp, MonaParam>.MapStack locals ) : MSOFormula
ConvertSet ( MonaExpr set, MonaParam>.MapStack locals, MSOFormula &psi ) : Variable
ConvertSetminus ( MonaExpr set1, MonaExpr set2, MonaParam>.MapStack locals, MSOFormula &pred ) : Variable
ConvertSubset ( MonaExpr t1, MonaExpr t2, MonaParam>.MapStack locals ) : MSOFormula
ConvertTerm1 ( MonaExpr t, MonaParam>.MapStack locals, MSOFormula &psi ) : Variable

If t is a variable name then returns t as a f-o variable and sets psi=null. Else returns a fresh f-o variable x and outputs psi(x) s.t. psi(x) iff x=t.

ConvertTerm2 ( MonaExpr t, MonaParam>.MapStack locals, MSOFormula &psi ) : Variable

If t is a variable name then returns t as a s-o variable and sets psi=null. Else returns a fresh s-o variable X and outputs psi(X) s.t. psi(X) iff X=t.

ConvertUnion ( MonaExpr set1, MonaExpr set2, MonaParam>.MapStack locals, MSOFormula &pred ) : Variable
MkNewVar1 ( ) : Variable
MkNewVar2 ( ) : Variable
MonaProgram ( Token token, Cons declarations, MonaDecl>.Dictionary globals, List vars0, List vars1, List vars2, List varsT ) : System
V1 ( string name ) : Variable
V2 ( string name ) : Variable

Method Details

Print() public method

public Print ( StringBuilder sb ) : void
sb StringBuilder
return void

ToMSO() public method

public ToMSO ( ) : MSOFormula
return MSOFormula

Typecheck() public method

public Typecheck ( ) : void
return void

Property Details

allpos public_oe property

public MonaAllposDecl,Microsoft.Automata.MSO.Mona allpos
return MonaAllposDecl

declarations public_oe property

public Cons declarations
return Cons

defaultwhere1 public_oe property

public MonaDefaultWhereDecl,Microsoft.Automata.MSO.Mona defaultwhere1
return MonaDefaultWhereDecl

defaultwhere2 public_oe property

public MonaDefaultWhereDecl,Microsoft.Automata.MSO.Mona defaultwhere2
return MonaDefaultWhereDecl

token public_oe property

public Token,Microsoft.Automata.MSO.Mona token
return Token

vars0 public_oe property

public List vars0
return List

vars1 public_oe property

public List vars1
return List

vars2 public_oe property

public List vars2
return List

varsT public_oe property

public List varsT
return List