]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/DataStructures/Graph.h
...
[cpPlugins.git] / lib / cpExtensions / DataStructures / Graph.h
index b11b7031891437142ee70ce33dd3665dc872b3b4..59679c8671e3a1aa262cb3317283e6f41f488f56 100644 (file)
@@ -53,10 +53,12 @@ namespace cpExtensions
       bool HasVertexIndex( const I& index ) const;
       void SetVertex( const I& index, V& vertex );
       bool RenameVertex( const I& old_index, const I& new_index );
+      void RemoveVertex( const I& index );
       V& GetVertex( const I& index );
       const V& GetVertex( const I& index ) const;
 
       void AddConnection( const I& orig, const I& dest, const C& cost );
+      void RemoveConnection( const I& orig, const I& dest, const C& cost );
 
       std::set< I > GetSinks( ) const;