VHISTlib  1.84.0.3018
/daten/ahuesgen/projects/vhist/code/vhistlib/include/vhistdifflib/vhistdiff.h
00001 /* $HEADERS
00002  $Id: vhistdiff.h 2179 2011-06-24 09:03:24Z ahuesgen $
00003  */
00004 
00005 #ifndef VHISTDIFF_H
00006 #define VHISTDIFF_H
00007 
00008 #include <QSharedPointer>
00009 #include <QList>
00010 #include <QString>
00011 
00012 #include "../shared/misc_defines.h"
00013 #include "workflowtree.h"
00014 #include "path.h"
00015 #include "workflowstepcosts.h"
00016 #include "vhistdiffresult.h"
00017 
00018 namespace vhist
00019 {
00020 
00021 class Path;
00022 
00023 class VHIST_EXTERN VhistDiff : public LogSource
00024 {
00025     public:
00026         VhistDiff(const WorkflowTree& tree1, const WorkflowTree& tree2,
00027                 WorkflowstepCosts* costs);
00028         ~VhistDiff();
00029 
00030     public:
00031         QSharedPointer<VhistDiffResult> findBestMatch() const;
00032         VhistDiffResults findBestMatches(int numMatches) const;
00033 
00034     public:
00035         void setTree1(const WorkflowTree& tree1);
00036         void setTree2(const WorkflowTree& tree2);
00037         void setCosts(WorkflowstepCosts* wfsCosts);
00038 
00039     public:
00040         WorkflowTree* tree1();
00041         WorkflowTree* tree2();
00042         WorkflowstepCosts* costs();
00043 
00044     private:
00045         VhistDiffResult convertPath(const Path& path) const;
00046 
00047     private:
00048         WorkflowTree m_tree1;
00049         WorkflowTree m_tree2;
00050         WorkflowstepCosts* m_wfsCosts;
00051 };
00052 
00053 } // namespace vhist
00054 
00055 
00056 #endif // VHISTDIFF_H

VHISTlib 1.84.0.3018 of Jun 28 2013, generated by doxygen.