Denes Matetelki
|
8b8795d80b
|
Forward declaring fix: struct instead of class
|
12 years ago |
Denes Matetelki
|
3a38079612
|
experimenting with allocators, graph crashes
|
12 years ago |
Denes Matetelki
|
59e63a6530
|
Graph::resize to be able to allocate memory for vertices when their number is known in advance
|
12 years ago |
Denes Matetelki
|
f0710ec710
|
unique push to vector
|
12 years ago |
Denes Matetelki
|
c6f9a544e3
|
Edge weight is a template parameter now
|
12 years ago |
Denes Matetelki
|
9a715337d4
|
graph can be directed and undirected
|
12 years ago |
Denes Matetelki
|
c5f7924399
|
iterators can be used in a const situation too
|
12 years ago |
Denes Matetelki
|
955aba40ad
|
short functions are inline
|
12 years ago |
Denes Matetelki
|
e139c1ca98
|
graph.h renamed to graph.hpp
|
12 years ago |
Denes Matetelki
|
c50ce9e29d
|
graph has cctor and assign operator now
|
12 years ago |
Denes Matetelki
|
d02e826d41
|
dereferencing iterators with operator* return references instead of pointers
|
12 years ago |
Denes Matetelki
|
183081c17f
|
Moving definitions from class body which only fit to the next line outside of the class
|
12 years ago |
Denes Matetelki
|
eb638d6f6a
|
simplifying edge_iterator::advance
|
12 years ago |
Denes Matetelki
|
c59e8cfeb7
|
Making short functions inline and define longer ones outside the class
|
12 years ago |
Denes Matetelki
|
d631f1eae5
|
Move semantics: assigment ops use swap
|
12 years ago |
Denes Matetelki
|
9afcf3fc5b
|
Edge iteragor advance works
|
12 years ago |
Denes Matetelki
|
d3203f0e7f
|
some iterator ctors went private, edge_iterator has advance functionality
|
12 years ago |
Denes Matetelki
|
f626a05b0c
|
finally, the .gitignore file
|
12 years ago |
Denes Matetelki
|
423925cf59
|
step forward functionality in edge_iterator has been lifted up
|
12 years ago |
Denes Matetelki
|
502c8278c0
|
new Graph subclass edge_iterator
|
12 years ago |
Denes Matetelki
|
056381483d
|
Graph::iterator has been renamed to Graph::vertex_iterator
|
12 years ago |
Denes Matetelki
|
4745047b60
|
private subclasses: Vertex and EdgeTo declarations got moved to the end of the class declaration of Graph
|
12 years ago |
Denes Matetelki
|
7b06654bc9
|
renaming private class Edge to EdgeTo
|
12 years ago |
Denes Matetelki
|
1c0001948f
|
storing edges in an std::list
|
12 years ago |
Denes Matetelki
|
7c890f19c6
|
what is goind on here? storing pointers of variables on the stack?
|
12 years ago |
Denes Matetelki
|
8e2f064598
|
Vector and Edge pointers are not const anymore. iterator class is implemented.
|
12 years ago |
Denes Matetelki
|
b7f205aca4
|
fixing identations
|
12 years ago |
Denes Matetelki
|
7ca0a3eafd
|
adding iterator skeleton
|
12 years ago |
Denes Matetelki
|
acc88a5710
|
using STL typedefs
|
12 years ago |
Denes Matetelki
|
6bde23f09c
|
Revert "new files: gitignore and README"
This reverts commit fadb79bf5a .
|
12 years ago |
Denes Matetelki
|
fadb79bf5a
|
Ãnew files: gitignore and READMEÃ
|
12 years ago |
Denes Matetelki
|
78d526acae
|
lookup functions work
|
12 years ago |
Denes Matetelki
|
e069792410
|
fix on numberOfEdges
|
12 years ago |
Denes Matetelki
|
a7fad9cfb0
|
first commit
|
12 years ago |