X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FDataStructures%2FGraph.h;h=b11b7031891437142ee70ce33dd3665dc872b3b4;hb=94411ee4209d15d6d1cf25bb817675f76f7ea5c0;hp=5fb2707f5def3e5257054285d6805d59acd9e63f;hpb=83e946f1e96c001dde06a2785473d08468e28b2e;p=cpPlugins.git diff --git a/lib/cpExtensions/DataStructures/Graph.h b/lib/cpExtensions/DataStructures/Graph.h index 5fb2707..b11b703 100644 --- a/lib/cpExtensions/DataStructures/Graph.h +++ b/lib/cpExtensions/DataStructures/Graph.h @@ -51,7 +51,8 @@ namespace cpExtensions void Clear( ); bool HasVertexIndex( const I& index ) const; - void InsertVertex( const I& index, V& vertex ); + void SetVertex( const I& index, V& vertex ); + bool RenameVertex( const I& old_index, const I& new_index ); V& GetVertex( const I& index ); const V& GetVertex( const I& index ) const;