|
@ -7,7 +7,7 @@ |
|
|
#include "src/models/sparse/StandardRewardModel.h"
|
|
|
#include "src/models/sparse/StandardRewardModel.h"
|
|
|
|
|
|
|
|
|
TEST(StronglyConnectedComponentDecomposition, Crowds) { |
|
|
TEST(StronglyConnectedComponentDecomposition, Crowds) { |
|
|
std::shared_ptr<storm::models::sparse::Model<double>> abstractModel = storm::parser::AutoParser::parseModel(STORM_CPP_BASE_PATH "/examples/dtmc/crowds/crowds20_5.tra", STORM_CPP_BASE_PATH "/examples/dtmc/crowds/crowds20_5.lab", "", ""); |
|
|
|
|
|
|
|
|
std::shared_ptr<storm::models::sparse::Model<double>> abstractModel = storm::parser::AutoParser<>::parseModel(STORM_CPP_BASE_PATH "/examples/dtmc/crowds/crowds20_5.tra", STORM_CPP_BASE_PATH "/examples/dtmc/crowds/crowds20_5.lab", "", ""); |
|
|
std::shared_ptr<storm::models::sparse::Dtmc<double>> dtmc = abstractModel->as<storm::models::sparse::Dtmc<double>>(); |
|
|
std::shared_ptr<storm::models::sparse::Dtmc<double>> dtmc = abstractModel->as<storm::models::sparse::Dtmc<double>>(); |
|
|
|
|
|
|
|
|
storm::storage::StronglyConnectedComponentDecomposition<double> sccDecomposition; |
|
|
storm::storage::StronglyConnectedComponentDecomposition<double> sccDecomposition; |
|
@ -25,7 +25,7 @@ TEST(StronglyConnectedComponentDecomposition, Crowds) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
TEST(StronglyConnectedComponentDecomposition, SynchronousLeader) { |
|
|
TEST(StronglyConnectedComponentDecomposition, SynchronousLeader) { |
|
|
std::shared_ptr<storm::models::sparse::Model<double>> abstractModel = storm::parser::AutoParser::parseModel(STORM_CPP_BASE_PATH "/examples/dtmc/synchronous_leader/leader6_9.tra", STORM_CPP_BASE_PATH "/examples/dtmc/synchronous_leader/leader6_9.lab", "", ""); |
|
|
|
|
|
|
|
|
std::shared_ptr<storm::models::sparse::Model<double>> abstractModel = storm::parser::AutoParser<>::parseModel(STORM_CPP_BASE_PATH "/examples/dtmc/synchronous_leader/leader6_9.tra", STORM_CPP_BASE_PATH "/examples/dtmc/synchronous_leader/leader6_9.lab", "", ""); |
|
|
std::shared_ptr<storm::models::sparse::Dtmc<double>> dtmc = abstractModel->as<storm::models::sparse::Dtmc<double>>(); |
|
|
std::shared_ptr<storm::models::sparse::Dtmc<double>> dtmc = abstractModel->as<storm::models::sparse::Dtmc<double>>(); |
|
|
|
|
|
|
|
|
storm::storage::StronglyConnectedComponentDecomposition<double> sccDecomposition; |
|
|
storm::storage::StronglyConnectedComponentDecomposition<double> sccDecomposition; |
|
@ -43,7 +43,7 @@ TEST(StronglyConnectedComponentDecomposition, SynchronousLeader) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
TEST(StronglyConnectedComponentDecomposition, AsynchronousLeader) { |
|
|
TEST(StronglyConnectedComponentDecomposition, AsynchronousLeader) { |
|
|
std::shared_ptr<storm::models::sparse::Model<double>> abstractModel = storm::parser::AutoParser::parseModel(STORM_CPP_BASE_PATH "/examples/mdp/asynchronous_leader/leader7.tra", STORM_CPP_BASE_PATH "/examples/mdp/asynchronous_leader/leader7.lab", "", ""); |
|
|
|
|
|
|
|
|
std::shared_ptr<storm::models::sparse::Model<double>> abstractModel = storm::parser::AutoParser<>::parseModel(STORM_CPP_BASE_PATH "/examples/mdp/asynchronous_leader/leader7.tra", STORM_CPP_BASE_PATH "/examples/mdp/asynchronous_leader/leader7.lab", "", ""); |
|
|
std::shared_ptr<storm::models::sparse::Mdp<double>> mdp = abstractModel->as<storm::models::sparse::Mdp<double>>(); |
|
|
std::shared_ptr<storm::models::sparse::Mdp<double>> mdp = abstractModel->as<storm::models::sparse::Mdp<double>>(); |
|
|
|
|
|
|
|
|
storm::storage::StronglyConnectedComponentDecomposition<double> sccDecomposition; |
|
|
storm::storage::StronglyConnectedComponentDecomposition<double> sccDecomposition; |
|
@ -61,7 +61,7 @@ TEST(StronglyConnectedComponentDecomposition, AsynchronousLeader) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
TEST(StronglyConnectedComponentDecomposition, Consensus) { |
|
|
TEST(StronglyConnectedComponentDecomposition, Consensus) { |
|
|
std::shared_ptr<storm::models::sparse::Model<double>> abstractModel = storm::parser::AutoParser::parseModel(STORM_CPP_BASE_PATH "/examples/mdp/consensus/coin6_4.tra", STORM_CPP_BASE_PATH "/examples/mdp/consensus/coin6_4.lab", "", ""); |
|
|
|
|
|
|
|
|
std::shared_ptr<storm::models::sparse::Model<double>> abstractModel = storm::parser::AutoParser<>::parseModel(STORM_CPP_BASE_PATH "/examples/mdp/consensus/coin6_4.tra", STORM_CPP_BASE_PATH "/examples/mdp/consensus/coin6_4.lab", "", ""); |
|
|
std::shared_ptr<storm::models::sparse::Mdp<double>> mdp = abstractModel->as<storm::models::sparse::Mdp<double>>(); |
|
|
std::shared_ptr<storm::models::sparse::Mdp<double>> mdp = abstractModel->as<storm::models::sparse::Mdp<double>>(); |
|
|
|
|
|
|
|
|
storm::storage::StronglyConnectedComponentDecomposition<double> sccDecomposition; |
|
|
storm::storage::StronglyConnectedComponentDecomposition<double> sccDecomposition; |
|
|