~verifypn-stub/verifypn/short-circut

« back to all changes in this revision

Viewing changes to CTL/CTLEngine.cpp

  • Committer: Jiri Srba
  • Date: 2017-04-27 10:37:02 UTC
  • Revision ID: srba.jiri@gmail.com-20170427103702-ko5i412nh34gh3ul
fixed compilation bugs in the merged branch  lp:~tapaal-dist-ctl/verifypn/ss-cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
    SearchStrategy::DFSSearch* strategy = nullptr;
158
158
    Algorithm::FixedPointAlgorithm* alg = nullptr;
159
159
 
160
 
    if(strategytype != PetriEngine::Reachability::Strategy){
 
160
    if(strategytype != PetriEngine::Reachability::DFS){
161
161
        std::cerr << "Error: Invalid CTL search strategy. Only DFS is supported by CTL engine." << std::endl;
162
162
        return ErrorCode;
163
163
    }
196
196
    }
197
197
 
198
198
    delete strategy;
199
 
    delete graph;
 
199
    delete &graph;
200
200
    delete alg;
201
201
 
202
202
    return SuccessCode;