projects
/
mtp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics.
[mtp.git]
/
mtp_graph.h
diff --git
a/mtp_graph.h
b/mtp_graph.h
index
699ee16
..
f2bedd4
100644
(file)
--- a/
mtp_graph.h
+++ b/
mtp_graph.h
@@
-25,16
+25,20
@@
class Vertex;
class Edge;
class MTPGraph {
class Edge;
class MTPGraph {
- void initialize_work_lengths();
- void update_work_length();
+ void initialize_positivized_lengths_with_min();
+ void update_positivized_lengths();
+ void force_positivized_lengths();
void find_shortest_path(Vertex **front, Vertex **new_front);
void find_shortest_path(Vertex **front, Vertex **new_front);
+ Vertex **_front, **_new_front;
+
int _nb_vertices, _nb_edges;
Vertex *_source, *_sink;
int _nb_vertices, _nb_edges;
Vertex *_source, *_sink;
- Vertex **_front, **_new_front;
+
+ Edge *_edges;
+ Vertex *_vertices;
+
public:
public:
- Edge *edges;
- Vertex *vertices;
MTPGraph(int nb_vertices, int nb_edges, int *from, int *to,
int source, int sink);
MTPGraph(int nb_vertices, int nb_edges, int *from, int *to,
int source, int sink);