class ReferenceBlock;
class FunctionalBlock;
class AbstractInterface;
-
+class Exception;
using namespace std;
using namespace Qt;
bool removeSourceBlock(FunctionalBlock* block);
// others
- QList<AbstractInterface *> getOutsideInterfaces();
+ QList<AbstractInterface *> getOutsideInterfaces();
+ /*!
+ * \brief createPatterns
+ * createPatterns() crosses the graph and for each functional block, it computes
+ * the consumptionPattern, the productionPattern, the production counter and delta
+ * using the parameters fo the block.
+ */
+ void createPatterns() throw(Exception);
+ void resetPatternComputed();
+ bool computeOutputPatterns(int nbExec);
private: