Go to the documentation of this file.
35 Partition::Partition()
37 OP_DF( "Partition::Partition: entering function");
39 OP_DF( "Partition::Partition: leaving function");
42 void Partition::writeInfoMap( Idx event) const
44 OP_DF( "Partition::writeInfoMap: entering function");
45 cout << "Writing info-map for event " << event << endl;
46 std::map<Idx,map<Idx,Idx> >::const_iterator pMap = infoMap.find(event);
48 if(pMap!=infoMap.end())
50 std::map<Idx,Idx>::const_iterator mIt;
51 std::map<Idx,Idx>::const_iterator mItBegin = pMap->second.begin();
52 std::map<Idx,Idx>::const_iterator mItEnd = pMap->second.end();
54 if(mItBegin == mItEnd)
55 cout << "no entries for this event" << endl;
56 for(mIt=mItBegin; mIt != mItEnd; ++mIt)
57 cout << "state: " << (*mIt).first << " : occurrences: " << (*mIt).second << endl;
62 cout << "no info-map for this event" << endl;
64 OP_DF( "Partition::writeInfoMap: leaving function");
libFAUDES 2.24g
--- 2014.09.15
--- c++ api documentaion by doxygen
|