Browse Source
towards nice pgcl - jani support
towards nice pgcl - jani support
Former-commit-id:main4465a9566a
[formerlyc5fd489dab
] Former-commit-id:34f78bdd4f
13 changed files with 235 additions and 34 deletions
-
13src/builder/JaniProgramGraphBuilder.cpp
-
30src/builder/JaniProgramGraphBuilder.h
-
6src/builder/ProgramGraphBuilder.h
-
9src/storage/pgcl/PgclProgram.cpp
-
9src/storage/pgcl/PgclProgram.h
-
1src/storage/pgcl/VariableDeclaration.cpp
-
36src/storage/pgcl/VariableDeclaration.h
-
19src/storage/ppg/ProgramAction.h
-
9src/storage/ppg/ProgramEdgeGroup.h
-
71src/storage/ppg/ProgramGraph.cpp
-
60src/storage/ppg/ProgramGraph.h
-
4src/storage/ppg/ProgramLocation.h
-
2src/storm-pgcl.cpp
@ -0,0 +1 @@ |
|||
#include "VariableDeclaration.h"
|
@ -0,0 +1,36 @@ |
|||
#pragma once |
|||
|
|||
#include "src/storage/expressions/Expression.h" |
|||
#include "src/storage/expressions/Variable.h" |
|||
|
|||
namespace storm { |
|||
namespace pgcl { |
|||
class VariableDeclaration { |
|||
public: |
|||
|
|||
VariableDeclaration(storm::expressions::Variable const& var, storm::expressions::Expression const& exp) |
|||
: variable(var), initialValue(exp) |
|||
{ |
|||
// Not implemented. |
|||
} |
|||
|
|||
storm::expressions::Variable const& getVariable() const { |
|||
return variable; |
|||
} |
|||
|
|||
storm::expressions::Expression const& getInitialValueExpression() const { |
|||
return initialValue; |
|||
} |
|||
|
|||
private: |
|||
storm::expressions::Variable variable; |
|||
storm::expressions::Expression initialValue; |
|||
|
|||
}; |
|||
} |
|||
} |
|||
|
|||
|
|||
|
|||
|
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue