- GroupBlock* createChildBlock(GroupBlock* parent);
- FunctionalBlock* addFunctionalBlock(GroupBlock *group, ReferenceBlock *ref);
-
+ // methods for source blocks
+ FunctionalBlock* createSourceBlock(ReferenceBlock *ref);
+ FunctionalBlock* duplicateSourceBlock(FunctionalBlock *block);
+ FunctionalBlock* getSourceBlockByName(QString name);
+ bool removeSourceBlock(FunctionalBlock* block);
+
+ // others
+ 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();
+ void computeOutputPatterns(int nbExec) throw(Exception);
+
+