/** Author: David Auber Email : auber@labri.fr Last modification : 20/08/2001 This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. */ #include #include "LoopSelection.h" #include #include SELECTIONPLUGIN(LoopSelection,"Loop Selection","David Auber","20/01/2003","Alpha","0","1"); using namespace std; LoopSelection::LoopSelection(PropertyContext *context):Selection(context) {} LoopSelection::~LoopSelection() { } bool LoopSelection::getEdgeValue(edge e) { return (superGraph->source(e)==superGraph->target(e)); } bool LoopSelection::run() { return true; }