include/ff/graph_utils.hpp
// checks if node is a farm with the collector node 
checks if node is a farm with the collector node
checks if node is a farm with the collector node
static inline bool isfarm_withcollector(ff_node* node) {
    if (node->isFarm()) {
        ff_farm* farm= reinterpret_cast<ff_farm*>(node);
        return farm->hasCollector();
    }
    return false;
}
static inline bool isfarm_withcollector ( ff_node * node ) { if ( node -> isFarm ( ) ) { ff_farm * farm = reinterpret_cast < ff_farm * > ( node ) ; return farm -> hasCollector ( ) ; } return false ; }
checks if node is a farm with the collector node
checks if node is a farm with the collector node