marci [Thu, 29 Jul 2004 17:20:51 +0000] rev 747
a bug test for preflow with preflow_bug_8 dimacs file
marci [Sun, 05 Nov 2006 00:39:31 +0000] rev 746
(none)
marci [Thu, 29 Jul 2004 17:18:49 +0000] rev 745
jacint javitgatott.
alpar [Tue, 27 Jul 2004 19:08:23 +0000] rev 744
Some comments.
alpar [Tue, 27 Jul 2004 18:56:10 +0000] rev 743
Bugfix + working example
alpar [Tue, 27 Jul 2004 16:09:42 +0000] rev 742
- bfs-bench added
- hypercube generators moved to bench-tools.h
- new benchmark script
alpar [Tue, 27 Jul 2004 16:04:21 +0000] rev 741
A very flexible bfs function using named parameters and impicit map types.
alpar [Tue, 27 Jul 2004 16:02:51 +0000] rev 740
It is really obsolete, but containes interesting stuffs.
marci [Sat, 24 Jul 2004 14:33:37 +0000] rev 739
GraphWrapper::id(const Node&), GraphWrapper::id(const Edge&) function,
'cause I need it.
marci [Sat, 24 Jul 2004 14:01:31 +0000] rev 738
correction of some bugs pointed by alpar
alpar [Fri, 23 Jul 2004 17:13:23 +0000] rev 737
Several changes in Kruskal alg.
- Input object interface was changed to an STL compatible one.
- template parameters of class KruskalPairVec has been simplified.
- (the most of) the names meet the naming conventions.
- a lot of (but still not enough) documentation has been added.
- class KruskalMapVec has been commented out.
alpar [Fri, 23 Jul 2004 16:58:02 +0000] rev 736
Marci (and the other developpers),
please write exhaustive test code to avoid this kind of bugs...
alpar [Fri, 23 Jul 2004 12:27:24 +0000] rev 735
gcc-3.4 tries to compile the _unused_ members of
an instantiated template class
alpar [Thu, 22 Jul 2004 20:07:49 +0000] rev 734
A remark added.
alpar [Thu, 22 Jul 2004 20:06:40 +0000] rev 733
Check StaticGraphSkeleton, as well.
alpar [Thu, 22 Jul 2004 19:59:18 +0000] rev 732
Skeletons have been simplified.
"Optional features" have been deleted.
Map skeletons have been renamed.
alpar [Thu, 22 Jul 2004 19:49:28 +0000] rev 731
max_flow.h added to Makefile.am
alpar [Thu, 22 Jul 2004 14:29:20 +0000] rev 730
Custom made INSTALL file (will be sometime).
alpar [Thu, 22 Jul 2004 14:28:00 +0000] rev 729
Repeat tests more times.
alpar [Thu, 22 Jul 2004 14:24:00 +0000] rev 728
More documented file.
alpar [Thu, 22 Jul 2004 14:21:46 +0000] rev 727
- Better Makefile.am. (I hope.)
- Some more tests
alpar [Thu, 22 Jul 2004 14:19:23 +0000] rev 726
max_flow.h (wich doesn't use STL
- max_flow.h (which doesn't use STL stack) moved to /src/hugo
- for_each_macros.h was removed from max_flow.h
- (blocking) flow augmenting stuffs was removed.
alpar [Thu, 22 Jul 2004 14:09:21 +0000] rev 725
We do not yet need it.
alpar [Thu, 22 Jul 2004 13:59:10 +0000] rev 724
Do not ignore INSTALL.
alpar [Wed, 21 Jul 2004 17:40:36 +0000] rev 723
Doesn't compile 5 times for the five execution.
alpar [Wed, 21 Jul 2004 17:39:49 +0000] rev 722
For the sake of icc.
alpar [Wed, 21 Jul 2004 17:38:47 +0000] rev 721
Indenting.
alpar [Wed, 21 Jul 2004 17:38:02 +0000] rev 720
MapBase added
alpar [Wed, 21 Jul 2004 13:03:11 +0000] rev 719
Indenting
alpar [Wed, 21 Jul 2004 07:03:20 +0000] rev 718
Ready to run the first test series.
alpar [Wed, 21 Jul 2004 07:01:14 +0000] rev 717
Test EdgeSet/NodeSet as well.
alpar [Wed, 21 Jul 2004 06:59:55 +0000] rev 716
Turn on '-Wall' by default.
jacint [Tue, 20 Jul 2004 14:31:24 +0000] rev 715
trying if without stl stack we are faster
jacint [Tue, 20 Jul 2004 14:29:16 +0000] rev 714
without stl stack we are faster
alpar [Tue, 20 Jul 2004 10:58:11 +0000] rev 713
Oops: "static" and "const" does not like each other.
alpar [Tue, 20 Jul 2004 09:52:03 +0000] rev 712
src/becnhmark gets in the distro.
I hope it works well.
alpar [Tue, 20 Jul 2004 09:50:11 +0000] rev 711
Some tools of common usage was put to bench_tool.h
alpar [Tue, 20 Jul 2004 09:43:12 +0000] rev 710
Put some "static"'s.
alpar [Mon, 19 Jul 2004 13:32:28 +0000] rev 709
docfix
alpar [Mon, 19 Jul 2004 13:31:47 +0000] rev 708
A new benchmark (hcube)
and other minor changes
alpar [Mon, 19 Jul 2004 13:30:20 +0000] rev 707
Warning fixation.
alpar [Mon, 19 Jul 2004 13:29:32 +0000] rev 706
Temporal change: public Edge constructor with given ID.
alpar [Thu, 15 Jul 2004 17:56:34 +0000] rev 705
Unnecessary friend declaration removed.
ladanyi [Thu, 15 Jul 2004 15:31:24 +0000] rev 704
Added new make target 'benchmark'.
deba [Thu, 15 Jul 2004 12:15:58 +0000] rev 703
(none)
deba [Wed, 14 Jul 2004 21:16:10 +0000] rev 702
(none)
deba [Wed, 14 Jul 2004 10:06:27 +0000] rev 701
(none)
deba [Wed, 14 Jul 2004 10:05:31 +0000] rev 700
*** empty log message ***
alpar [Tue, 13 Jul 2004 07:19:34 +0000] rev 699
Benchmarks
deba [Fri, 09 Jul 2004 07:33:12 +0000] rev 698
(none)
alpar [Tue, 06 Jul 2004 13:57:01 +0000] rev 697
Capitalized section title.
alpar [Tue, 06 Jul 2004 11:28:20 +0000] rev 696
Example in the doc is corrected.
alpar [Tue, 06 Jul 2004 11:27:36 +0000] rev 695
- Bugfix in erase()
- reserveEdge() added
alpar [Tue, 06 Jul 2004 10:07:48 +0000] rev 694
I moved run() into the body of class Dijkstra, because Doxygen handles
external member function definitions very poorly.
alpar [Tue, 06 Jul 2004 09:52:04 +0000] rev 693
Fix some typos in docs.
alpar [Tue, 06 Jul 2004 09:34:25 +0000] rev 692
Extended tutorial.
hegyi [Mon, 05 Jul 2004 16:44:18 +0000] rev 691
t/bin/bash: line 1: q: command not found
-j-This line, and those below, will be ignored--
M peter/hierarchygraph.h
hegyi [Mon, 05 Jul 2004 15:52:35 +0000] rev 690
(none)
alpar [Wed, 30 Jun 2004 14:59:46 +0000] rev 689
I think I deserved it...
alpar [Wed, 30 Jun 2004 14:50:31 +0000] rev 688
- Now, it is possible to have Dijkstra store its result directly in given maps.
- More docs.
klao [Fri, 18 Jun 2004 12:43:20 +0000] rev 687
Legal files. Proposal.
alpar [Wed, 16 Jun 2004 09:44:30 +0000] rev 686
src/work/alpar/path.h (docs) is merged into src/work/klao/path.h
(and removed)
alpar [Tue, 15 Jun 2004 06:30:03 +0000] rev 685
Doc updates
alpar [Tue, 15 Jun 2004 06:29:27 +0000] rev 684
Branch from path.h to extend its documentation.
alpar [Mon, 14 Jun 2004 10:21:52 +0000] rev 683
doc
alpar [Mon, 14 Jun 2004 09:47:54 +0000] rev 682
doc
alpar [Mon, 14 Jun 2004 09:46:03 +0000] rev 681
Nothing
alpar [Mon, 14 Jun 2004 09:21:06 +0000] rev 680
Improved (but still not satisfactory) doc.
alpar [Mon, 14 Jun 2004 08:49:07 +0000] rev 679
Small improvement on doc
alpar [Mon, 14 Jun 2004 08:35:10 +0000] rev 678
New group for kruskal
Better links on the main page.
hegyi [Tue, 08 Jun 2004 22:38:12 +0000] rev 677
NetGraphs v0
alpar [Tue, 08 Jun 2004 06:44:05 +0000] rev 676
c++ setting for emacs
Empty commands for doxygen
klao [Fri, 04 Jun 2004 16:05:20 +0000] rev 675
My notes.
Sources of information and software packages which could be interesting wrt
HUGO.
deba [Fri, 04 Jun 2004 11:52:53 +0000] rev 674
(none)
athos [Wed, 02 Jun 2004 09:47:10 +0000] rev 673
Restored common makefile.
athos [Wed, 02 Jun 2004 09:45:50 +0000] rev 672
Seems to work. More tests required.
athos [Tue, 01 Jun 2004 11:00:24 +0000] rev 671
Compiles now
alpar [Tue, 01 Jun 2004 08:30:20 +0000] rev 670
Spell checking / indenting only.
beckerjc [Sun, 30 May 2004 16:01:49 +0000] rev 669
New nice icons.
klao [Sun, 30 May 2004 14:15:24 +0000] rev 668
These will be customized icons for the doxygen tree view.
alpar [Fri, 28 May 2004 12:55:02 +0000] rev 667
*** empty log message ***
ladanyi [Fri, 28 May 2004 07:48:16 +0000] rev 666
Added a short tutorial on using graphs.
ladanyi [Thu, 27 May 2004 10:04:55 +0000] rev 665
Added 'src/test/.deps' to the svn:ignore property.
ladanyi [Thu, 27 May 2004 09:57:01 +0000] rev 664
Set svn:ignore on some files.
ladanyi [Thu, 27 May 2004 09:49:58 +0000] rev 663
Added mrproper target.
athos [Tue, 25 May 2004 17:01:26 +0000] rev 662
Almost compiles.
athos [Tue, 25 May 2004 15:11:11 +0000] rev 661
Corrected some obvious errors.
marci [Tue, 25 May 2004 13:13:52 +0000] rev 660
ResCap, a map for the residual capacity in ResGraphWrapper
athos [Tue, 25 May 2004 12:31:18 +0000] rev 659
Almost ready.
marci [Mon, 24 May 2004 14:13:03 +0000] rev 658
ResGraphWrapper pretected default constructor
athos [Mon, 24 May 2004 10:43:44 +0000] rev 657
Not ready yet.
marci [Fri, 21 May 2004 12:40:39 +0000] rev 656
max_flow.h bug correction
marci [Fri, 21 May 2004 10:57:30 +0000] rev 655
bug correction in BidirGraphWrapper<Graph> default constructor
marci [Fri, 21 May 2004 10:18:30 +0000] rev 654
The new for macros are: h_for, h_for_inc, h_for_glob, h_for_inc_glob.
marci [Fri, 21 May 2004 08:15:45 +0000] rev 653
misc
marci [Thu, 20 May 2004 17:21:55 +0000] rev 652
misc
marci [Thu, 20 May 2004 16:57:18 +0000] rev 651
misc
marci [Thu, 20 May 2004 15:40:59 +0000] rev 650
a
athos [Thu, 20 May 2004 09:42:31 +0000] rev 649
Cooorected some eroorrs.
marci [Wed, 19 May 2004 16:20:10 +0000] rev 648
for_each fix
marci [Wed, 19 May 2004 16:09:38 +0000] rev 647
the same
marci [Wed, 19 May 2004 16:06:57 +0000] rev 646
max_flow.h: status flags for actMinCut
leda_graph_wrapper.h: NodeMapWrapper, EdgeMapWrapper
athos [Mon, 17 May 2004 15:11:05 +0000] rev 645
I don't really feel like working on this at the moment.
marci [Mon, 17 May 2004 06:32:12 +0000] rev 644
#ifndef correction
marci [Fri, 14 May 2004 18:33:17 +0000] rev 643
comparision of ListGraph, SmartGraph and SageGraph
marci [Fri, 14 May 2004 18:28:57 +0000] rev 642
To avoid confusion my old ListGraph is can be used under name SageGraph, work/sage_graph.h contains it.
marci [Fri, 14 May 2004 18:08:29 +0000] rev 641
some documentation in stGraphWrapper<Gr> and BipartiteGraphWrapper<Gr>
marci [Fri, 14 May 2004 15:33:52 +0000] rev 640
for_each_macros.h in include
marci [Fri, 14 May 2004 15:19:18 +0000] rev 639
misc
marci [Fri, 14 May 2004 15:01:21 +0000] rev 638
for_eachmacros.h in include
marci [Fri, 14 May 2004 14:42:58 +0000] rev 637
for_each_macros.h in include
marci [Fri, 14 May 2004 14:41:30 +0000] rev 636
(none)
athos [Thu, 13 May 2004 17:42:23 +0000] rev 635
Started mincostflow.
athos [Thu, 13 May 2004 17:33:40 +0000] rev 634
Another slight modifications.
athos [Thu, 13 May 2004 16:00:18 +0000] rev 633
Slight modifications.
marci [Thu, 13 May 2004 11:25:52 +0000] rev 632
undir -> dir in docs
jacint [Thu, 13 May 2004 10:30:20 +0000] rev 631
Almost full documentation added, NO_FLOW incorporated, Phase0(1) changed to Phase1(2)
athos [Thu, 13 May 2004 10:29:19 +0000] rev 630
I modified mincostflows_test.cc a little.
jacint [Thu, 13 May 2004 10:29:13 +0000] rev 629
max_flow interface changes
athos [Thu, 13 May 2004 09:56:21 +0000] rev 628
Slight modification.
deba [Thu, 13 May 2004 08:20:39 +0000] rev 627
(none)
marci [Wed, 12 May 2004 14:07:00 +0000] rev 626
:wq
marci [Wed, 12 May 2004 14:02:31 +0000] rev 625
(none)
marci [Wed, 12 May 2004 13:55:37 +0000] rev 624
bugs
marci [Wed, 12 May 2004 13:54:14 +0000] rev 623
(none)
marci [Wed, 12 May 2004 13:22:10 +0000] rev 622
(none)
marci [Wed, 12 May 2004 13:19:32 +0000] rev 621
BidirGraphWrapper<Graph> bug volt
jacint [Wed, 12 May 2004 10:51:53 +0000] rev 620
(none)
klao [Tue, 11 May 2004 22:50:09 +0000] rev 619
path improvements
klao [Tue, 11 May 2004 22:49:13 +0000] rev 618
#include <hugo/...>
marci [Tue, 11 May 2004 21:26:29 +0000] rev 617
bip matching comparison
marci [Tue, 11 May 2004 20:20:41 +0000] rev 616
include -> hugo mods in leda files
marci [Tue, 11 May 2004 19:50:21 +0000] rev 615
docs, max_flow improvments
alpar [Tue, 11 May 2004 19:38:00 +0000] rev 614
Minor changes: Section labels fixed.
marci [Tue, 11 May 2004 17:37:34 +0000] rev 613
documentation of bipartite matchings, cleaning
marci [Tue, 11 May 2004 17:02:32 +0000] rev 612
BidirGraph, UndirGraph some docs, in group graphs
athos [Tue, 11 May 2004 16:38:17 +0000] rev 611
Some modifications and another testfile.
athos [Tue, 11 May 2004 16:15:18 +0000] rev 610
Sorry, the other half of the move comes here.
marci [Tue, 11 May 2004 15:54:00 +0000] rev 609
misc
athos [Tue, 11 May 2004 15:44:58 +0000] rev 608
Moved things into the include (hugo) directory.
athos [Tue, 11 May 2004 15:42:11 +0000] rev 607
Finished MinLengthPaths: a specialization of MinCostFlows.
marci [Tue, 11 May 2004 14:58:09 +0000] rev 606
docs
marci [Tue, 11 May 2004 12:09:06 +0000] rev 605
docs
marci [Tue, 11 May 2004 11:42:02 +0000] rev 604
some docs
athos [Tue, 11 May 2004 09:30:06 +0000] rev 603
I completed the description of the coding style.
marci [Mon, 10 May 2004 16:59:20 +0000] rev 602
bfs_iterator -> bfs_dfs.h, some docs
athos [Mon, 10 May 2004 16:52:51 +0000] rev 601
That's what I wanted.
athos [Mon, 10 May 2004 16:41:27 +0000] rev 600
(none)
athos [Mon, 10 May 2004 16:40:16 +0000] rev 599
Bocs, veletlen volt.
marci [Mon, 10 May 2004 16:32:21 +0000] rev 598
complete graphs
marci [Mon, 10 May 2004 16:31:48 +0000] rev 597
bfs, dfs docs
ladanyi [Mon, 10 May 2004 15:15:37 +0000] rev 596
Added full_graph.h to the installable headers.
deba [Mon, 10 May 2004 13:49:35 +0000] rev 595
(none)
alpar [Mon, 10 May 2004 09:12:28 +0000] rev 594
Spell check.
marci [Mon, 10 May 2004 08:25:10 +0000] rev 593
comleteGraph
alpar [Sun, 09 May 2004 16:29:53 +0000] rev 592
The file src/work/alpar/fullgraph.h renamed and moved to src/hugo/full_graph.h.
Compilation tests for FullGraph added to src/test/graph_test.h.
alpar [Sun, 09 May 2004 16:22:49 +0000] rev 591
FullGraph class.
alpar [Sun, 09 May 2004 16:21:56 +0000] rev 590
Changes in the Maps' copy constructors.
alpar [Sun, 09 May 2004 16:20:41 +0000] rev 589
doc
jacint [Sat, 08 May 2004 18:03:43 +0000] rev 588
felkesz tesztprogi
alpar [Sat, 08 May 2004 16:09:53 +0000] rev 587
They go to /dev/null.
alpar [Sat, 08 May 2004 16:04:28 +0000] rev 586
doc
alpar [Sat, 08 May 2004 16:00:57 +0000] rev 585
Some more test cases.
alpar [Sat, 08 May 2004 15:58:34 +0000] rev 584
Some new typedefs.
alpar [Sat, 08 May 2004 15:56:00 +0000] rev 583
From now on 'work in progress' files are not in /doc/Doxyfile.
The new src/work/Doxyfile containes these as well.
jacint [Sat, 08 May 2004 08:18:44 +0000] rev 582
aprosagok
jacint [Fri, 07 May 2004 21:16:26 +0000] rev 581
leda-hugo matching alg osszehasonlito
alpar [Fri, 07 May 2004 16:04:39 +0000] rev 580
Property changes (some files was ignored).
alpar [Fri, 07 May 2004 15:58:45 +0000] rev 579
EdgeSet is more or less working.
alpar [Fri, 07 May 2004 13:27:16 +0000] rev 578
src/work/alpar/list_graph.h moved to /src/hugo.
marci [Fri, 07 May 2004 11:57:34 +0000] rev 577
top-sort, dimacs mods.
marci [Fri, 07 May 2004 10:57:31 +0000] rev 576
(none)
jacint [Fri, 07 May 2004 10:34:36 +0000] rev 575
Docs added
alpar [Fri, 07 May 2004 10:22:30 +0000] rev 574
*** empty log message ***
marci [Fri, 07 May 2004 09:05:23 +0000] rev 573
(none)
marci [Fri, 07 May 2004 08:48:11 +0000] rev 572
Edge opposite(const Edge&) in BidirGaphWrapper<Graph>
deba [Fri, 07 May 2004 08:18:30 +0000] rev 571
(none)
alpar [Fri, 07 May 2004 08:02:17 +0000] rev 570
Compile checks added.
marci [Fri, 07 May 2004 07:44:44 +0000] rev 569
BidirGraphWrapper<Graph>, the map values are different for the opposite edges.
alpar [Fri, 07 May 2004 06:58:24 +0000] rev 568
An alternative dijkstra_test.cc
alpar [Fri, 07 May 2004 06:57:50 +0000] rev 567
time_measure.cc was renamed to time_measure_test.cc
Add an alternative dijsktra_test.cc
alpar [Fri, 07 May 2004 06:35:02 +0000] rev 566
Exit with correct return value
marci [Fri, 07 May 2004 06:33:02 +0000] rev 565
ResGraphWrapper mods.
alpar [Fri, 07 May 2004 05:29:45 +0000] rev 564
skeleton tests turned on again.
ladanyi [Thu, 06 May 2004 23:05:01 +0000] rev 563
We need to distribute the headers in 'skeletons' too.
ladanyi [Thu, 06 May 2004 22:24:02 +0000] rev 562
No automatic doc generation.
marci [Thu, 06 May 2004 19:01:00 +0000] rev 561
(none)
marci [Thu, 06 May 2004 18:07:45 +0000] rev 560
(none)
marci [Thu, 06 May 2004 17:45:12 +0000] rev 559
A max bipartite matching class in src/work/marci/max_bipartite_matching.h
which can be used for computing maximum cardinality ordinary matching, b-matching and capacitated b-matching.
marci [Thu, 06 May 2004 17:22:11 +0000] rev 558
random graph, random bipartite graph in jacint/graph_gen.h
marci [Thu, 06 May 2004 17:01:31 +0000] rev 557
(none)
marci [Thu, 06 May 2004 16:55:59 +0000] rev 556
graph_wrapper.h in hugo
marci [Thu, 06 May 2004 16:54:54 +0000] rev 555
#include <hugo/ > modifications
athos [Thu, 06 May 2004 15:47:42 +0000] rev 554
Method checkSolution() added.
marci [Thu, 06 May 2004 15:39:31 +0000] rev 553
SubGraphWrapper bug ok
marci [Thu, 06 May 2004 15:24:42 +0000] rev 552
top-sort, for fezso's sake
athos [Thu, 06 May 2004 15:19:59 +0000] rev 551
Written hugo/ into includes.
alpar [Thu, 06 May 2004 15:14:13 +0000] rev 550
Some tests must have been commented out temporarily.
marci [Thu, 06 May 2004 15:10:48 +0000] rev 549
(none)
marci [Thu, 06 May 2004 14:25:21 +0000] rev 548
(none)
athos [Thu, 06 May 2004 14:23:48 +0000] rev 547
Modified a little bit
alpar [Thu, 06 May 2004 14:21:57 +0000] rev 546
No automatic doc generation.
alpar [Thu, 06 May 2004 14:11:09 +0000] rev 545
Test cases for time_measure.h
marci [Thu, 06 May 2004 14:00:50 +0000] rev 544
(none)
marci [Thu, 06 May 2004 13:48:48 +0000] rev 543
an experimental topsort
ladanyi [Thu, 06 May 2004 13:48:04 +0000] rev 542
Set up automake environment.
marci [Thu, 06 May 2004 13:46:07 +0000] rev 541
(none)
marci [Thu, 06 May 2004 13:44:48 +0000] rev 540
(none)
ladanyi [Thu, 06 May 2004 13:21:24 +0000] rev 539
Rename 'include' to 'hugo' (for automake)
jacint [Thu, 06 May 2004 09:26:23 +0000] rev 538
(none)
jacint [Wed, 05 May 2004 17:51:56 +0000] rev 537
Contains Edmonds' matching algorithm in a plain and in a heuristical form.
jacint [Wed, 05 May 2004 17:29:41 +0000] rev 536
tests max_matching.h
jacint [Wed, 05 May 2004 17:24:06 +0000] rev 535
(none)
jacint [Wed, 05 May 2004 17:23:04 +0000] rev 534
primitive random graph generator
alpar [Wed, 05 May 2004 08:36:00 +0000] rev 533
Minor bugfix.
alpar [Wed, 05 May 2004 08:18:19 +0000] rev 532
Compiles also with icc.
alpar [Wed, 05 May 2004 07:53:51 +0000] rev 531
Compiles with are icc, as well.
athos [Tue, 04 May 2004 16:52:15 +0000] rev 530
Minimum cost flows of small values: algorithm from Andras Frank's lecture notes (approximately)
jacint [Tue, 04 May 2004 16:17:17 +0000] rev 529
Adding update() to NullMap
jacint [Tue, 04 May 2004 16:16:49 +0000] rev 528
Able to read min cost flow, max flow, shortest path, matching testgraphs
athos [Tue, 04 May 2004 14:54:21 +0000] rev 527
Nem tudom, a hugo-n miert nem megy.
marci [Tue, 04 May 2004 14:06:00 +0000] rev 526
bool forward(Edge), bool backward(Edge)
marci [Tue, 04 May 2004 12:03:04 +0000] rev 525
misc
marci [Tue, 04 May 2004 12:01:49 +0000] rev 524
An undirected graph template UndirGraph<Graph> can be used.