You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
786 B
19 lines
786 B
#include "src/storage/prism/SynchronizingParallelComposition.h"
|
|
|
|
namespace storm {
|
|
namespace prism {
|
|
|
|
SynchronizingParallelComposition::SynchronizingParallelComposition(std::shared_ptr<Composition> const& left, std::shared_ptr<Composition> const& right) : ParallelComposition(left, right) {
|
|
// Intentionally left empty.
|
|
}
|
|
|
|
boost::any SynchronizingParallelComposition::accept(CompositionVisitor& visitor, boost::any const& data) const {
|
|
return visitor.visit(*this, data);
|
|
}
|
|
|
|
void SynchronizingParallelComposition::writeToStream(std::ostream& stream) const {
|
|
stream << "(" << this->getLeftSubcomposition() << " || " << this->getRightSubcomposition() << ")";
|
|
}
|
|
|
|
}
|
|
}
|