﻿__group__	ticket	summary	component	version	type	owner	status	modified	_time	_description	_reporter
	355	SCIP MipSolver backend	core	hg main	enhancement	Alpar Juttner	new	2018-11-02T06:58:51Z	09:39:38Z	"The title says everything. Please find 	Ambros Gleixner's beta version implementation attached. His comments comes below.

    Sziasztok,

    attached is a beta version of the SCIP interface.  There is one segfault
    bug which I somehow cannot figure out.  I will have to solve this with
    my colleagues in Berlin.

    Do you have some more extensive test files for the MIP interfaces
    besides test/mip_test.cc?  If so, I would be happy to run them.

    Üdv,
    ambros
"	Alpar Juttner
Milestone: LEMON 1.4 release	633	Fixes fox gcc 9	core	hg main	defect	Alpar Juttner	new	2021-02-25T09:28:30Z	19:28:56Z	"The gcc 9.x report tons of warnings like 

{{{
/home/alpar/projects/LEMON/hg/comptest-main/lemon/concepts/graph_components.h:527:15: error: implicitly-declared ‘lemon::concepts::Digraph::Node& lemon::concepts::Digraph::Node::operator=(const lemon::concepts::Digraph::Node&)’ is deprecated [-Werror=deprecated-copy]
  527 |           node=INVALID;
      |           ~~~~^~~~~~~~
In file included from /home/alpar/projects/LEMON/hg/comptest-main/test/max_flow_test.cc:25:
/home/alpar/projects/LEMON/hg/comptest-main/lemon/concepts/digraph.h:78:9: note: because ‘lemon::concepts::Digraph::Node’ has user-provided ‘lemon::concepts::Digraph::Node::Node(const lemon::concepts::Digraph::Node&)’
   78 |         Node(const Node&) { }
      |         ^~~~
}}}

The patch attached makes an attempt to fix it.
Some of the changes, and event some of the related part of the current code is strange even for myself.

So this patch definitely needs a thorough review."	Alpar Juttner
Milestone: LEMON 1.4 release	680	Fix C++17 compilation warnings regarding the use of the deprecated std::iterator.	core	hg main	defect	Alpar Juttner	new	2023-02-02T12:59:36Z	12:59:36Z	"Compilations with C++17 or newer raise these warnings:

In file included from /home/rturrado/.conan/data/coin-lemon/1.3.1/_/_/build/647d242d497da836490a4de0e700615d1d33a7d5/src/lemon/color.h:24,
                 from /home/rturrado/.conan/data/coin-lemon/1.3.1/_/_/build/647d242d497da836490a4de0e700615d1d33a7d5/src/lemon/color.cc:22:
/home/rturrado/.conan/data/coin-lemon/1.3.1/_/_/build/647d242d497da836490a4de0e700615d1d33a7d5/src/lemon/maps.h:1973:21: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
 1973 |       : public std::iterator<std::forward_iterator_tag, Value> {
      |                     ^~~~~~~~
In file included from /usr/include/c++/12.2.0/bits/stl_algobase.h:65,
                 from /usr/include/c++/12.2.0/vector:60,
                 from /home/rturrado/.conan/data/coin-lemon/1.3.1/_/_/build/647d242d497da836490a4de0e700615d1d33a7d5/src/lemon/color.h:22:
/usr/include/c++/12.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
/home/rturrado/.conan/data/coin-lemon/1.3.1/_/_/build/647d242d497da836490a4de0e700615d1d33a7d5/src/lemon/maps.h:3135:21: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
 3135 |       : public std::iterator<std::forward_iterator_tag, Value> {
      |                     ^~~~~~~~
/usr/include/c++/12.2.0/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~

This patch intends to remove those warnings."	Roberto Turrado Camblor
Milestone: LEMON 1.4 release	168	Port bipartite matching algorithms	core	hg main	task	Alpar Juttner	new	2019-01-26T13:46:41Z	12:02:18Z	"This ticket is a follow-up of #48.

The following tools are affected:
 - lemon/bipartite_matching.h
 - lemon/pr_bipartite_matching.h (I really dislike this filename)
 - test/bipartite_matching_test.cc 

It also depends on #69 (the port of the bipartite graphs)."	Alpar Juttner
Milestone: LEMON 1.4 release	682	Fix access of private members in Vf2 and Vf2++, and improve tests	core	hg main	defect	Alpar Juttner	new	2024-05-16T17:38:10Z	17:38:10Z	"This patch contains a small fix for Vf2 and Vf2++: the Wizard classes need to access private members of the main classes, yet they were not friends.

The patch also extends [[source:test/vf2_test.cc|vf2_test.cc]] with an initialization that did not compile before this patch. In addition, we also test counting mappings now.
"	Peter Madarasi
Milestone: LEMON 1.4 release	681	Bug in radix heap	core	hg main	defect	Alpar Juttner	new	2023-07-27T11:39:37Z	11:39:37Z	"Levente Birszki reports that the implementation of radix heap does not work
correctly in certain cases. It seems to mess up the sizes of the buckets, and it
may pop an item with non-minimal key. For example,

{{{
const int n = 10; // max num items
const int c = 10; // max key

lemon::RangeMap<int> map(n, -1);
lemon::RadixHeap<lemon::RangeMap<int>> heap(map, 0, c);

heap.push(0, 2); // (index, priority)
heap.push(1, 3);
heap.push(2, 4);

heap.pop(); // ok, pops (0, 2)
heap.increase(1, 5);
heap.pop(); // oops, pops (1, 5) instead of (2,4)
}}}

Attached is a possible fix of the issue. The patch also extends
[[source:test/heap_test.cc|heap_test.cc]] with the problematic example given
above. The solution is based on a proposal of Levente."	Peter Madarasi
Milestone: LEMON 1.4 release	656	migrate to github	core	hg main	defect	Alpar Juttner	new	2022-11-14T15:15:47Z	07:42:51Z	it would be great, if lemon would be available on github	andrei
Milestone: LEMON 1.4 release	646	Bug in binomial heap with ties	core	hg main	defect	Alpar Juttner	new	2022-10-14T13:51:09Z	17:01:58Z	"In the current implementation, it may happen that the top-priority item
(i.e. _min) is not a root of the heap. This happens because when
we merge the minimum-priority item (_min) tree with an other tree
whose root has the same priority, we do not make sure that the
new root will be _min. This causes a lot of problems, because we may
try to pop a non-root item.

The following code snippet demonstrates the issue.
{{{
ListDigraph g;
ListDigraph::Node v0 = g.addNode();
ListDigraph::Node v1 = g.addNode();
ListDigraph::NodeMap<int> ref(g,-1);
lemon::BinomialHeap<int,ListDigraph::NodeMap<int> > h(ref);
h.push(v0,0);
h.push(v1,0);
h.pop();
h.pop();
}}}

Before the pops, the heap consists of a single tree with root v1
and its only child is v0. However, the top priority item in the
current implementation is v0, which is not a root in the heap!
This causes an infinite loop in BinomialHeap::unlace.

One possible fix of this issue is to replace [https://lemon.cs.elte.hu/trac/lemon/browser/lemon/lemon/binomial_heap.h#L177 line 177 of binomial_heap.h] with
{{{
_min=findMin();
}}}
"	Peter Madarasi
Milestone: LEMON 1.4 release	672	Bug in the Vf2 implementations	core	hg main	defect	Alpar Juttner	new	2022-10-14T13:46:48Z	13:46:48Z	"In [https://lemon.cs.elte.hu/trac/lemon/browser/lemon/lemon/vf2.h#L181 vf2.h line 181] and in [https://lemon.cs.elte.hu/trac/lemon/browser/lemon/lemon/vf2pp.h#L226 vf2pp.h line 226], we may index a `NodeMap` with `INVALID` --- to which we set a reference and do not use it later. The code seems to work as it is, but these could cause segmentation fault.

The attached patch fixes both issues.
"	Peter Madarasi
Milestone: LEMON 1.4 release	669	Mailing lists no longer work	core	hg main	defect	Alpar Juttner	new	2022-07-14T10:07:06Z	10:07:06Z	"Yesterday I sent an email to the LEMON User mailing list, but message sending failed with the following address:

{{{
There was a temporary problem while delivering your message to lemon-user@lemon.cs.elte.hu. Gmail will retry for 47 more hours. You'll be notified if the delivery fails permanently. 
}}}

I notice that the last message is from 2018, so it must have been non-functional since then.

Please either restore functionality or clearly indicate on the website that the mailing list is no longer in use.


----

P.S. If you migrated to GitHub, as requested in #656, you could replace the mailing lists with GitHub Discussions. You would no longer need to maintain a list server. There are other free options for open source projects as well, such as [Discourse](https://blog.discourse.org/2018/11/free-hosting-for-open-source-v2/)"	Szabolcs Horvát
Milestone: LEMON 1.4 release	668	Crash in lgf_reader_writer_test	core	hg main	defect	Alpar Juttner	new	2022-07-14T09:25:29Z	09:25:29Z	"The lgf_reader_writer_test test crashes for my. I am using the latest development version. Here's a stack trace from AddressSanitizer:


{{{
==61012==ERROR: AddressSanitizer: stack-use-after-scope on address 0x7ffee35a9ce0 at pc 0x00010cb7d0fe bp 0x7ffee35a8e10 sp 0x7ffee35a8e08
READ of size 4 at 0x7ffee35a9ce0 thread T0
    #0 0x10cb7d0fd in lemon::SmartGraphBase::Arc::operator lemon::SmartGraphBase::Edge() const smart_graph.h:455
    #1 0x10cb7cb7d in lemon::_writer_bits::GraphArcLookUpConverter<lemon::SmartGraph>::operator()(lemon::SmartGraphBase::Arc const&) lgf_writer.h:252
    #2 0x10cb7c897 in lemon::_writer_bits::ValueStorage<lemon::SmartGraphBase::Arc, lemon::_writer_bits::GraphArcLookUpConverter<lemon::SmartGraph> >::get() lgf_writer.h:190
    #3 0x10cb86481 in lemon::GraphWriter<lemon::SmartGraph>::writeAttributes() lgf_writer.h:1549
    #4 0x10c6a0694 in lemon::GraphWriter<lemon::SmartGraph>::run() lgf_writer.h:1573
    #5 0x10c696a0e in checkGraphReaderWriter() lgf_reader_writer_test.cc:394
    #6 0x10c6c1600 in main lgf_reader_writer_test.cc:572
    #7 0x7fff5e6013d4 in start (libdyld.dylib:x86_64+0x163d4)

Address 0x7ffee35a9ce0 is located in stack of thread T0 at offset 2208 in frame
    #0 0x10c69422f in checkGraphReaderWriter() lgf_reader_writer_test.cc:352

  This frame has 71 object(s):
    [32, 368) 'graph' (line 354)
    [432, 436) 'n1' (line 355)
    [448, 452) 'n2' (line 356)
    [464, 468) 'n3' (line 357)
    [480, 484) 'e1' (line 359)
    [496, 500) 'agg.tmp'
    [512, 516) 'agg.tmp9'
    [528, 532) 'e2' (line 360)
    [544, 548) 'agg.tmp16'
    [560, 564) 'agg.tmp17'
    [576, 624) 'node_map' (line 362)
    [656, 704) 'edge_map' (line 367)
    [736, 784) 'arc_map' (line 371)
    [816, 820) 'ref.tmp' (line 372)
    [832, 836) 'agg.tmp61'
    [848, 852) 'ref.tmp73' (line 373)
    [864, 868) 'agg.tmp74'
    [880, 884) 'ref.tmp86' (line 374)
    [896, 900) 'agg.tmp87'
    [912, 916) 'ref.tmp99' (line 375)
    [928, 932) 'agg.tmp100'
    [944, 948) 'attr' (line 377)
    [960, 1224) 'os' (line 379)
    [1296, 1520) 'writer' (line 380)
    [1584, 1608) 'ref.tmp114' (line 382)
    [1648, 1672) 'ref.tmp120' (line 383)
    [1712, 1713) 'ref.tmp123' (line 383)
    [1728, 1752) 'ref.tmp130' (line 384)
    [1792, 1816) 'ref.tmp138' (line 385)
    [1856, 1857) 'ref.tmp141' (line 385)
    [1872, 1896) 'ref.tmp148' (line 386)
    [1936, 1960) 'ref.tmp156' (line 387)
    [2000, 2001) 'ref.tmp159' (line 387)
    [2016, 2040) 'ref.tmp166' (line 388)
    [2080, 2104) 'ref.tmp174' (line 389)
    [2144, 2168) 'ref.tmp182' (line 390)
    [2208, 2212) 'ref.tmp185' (line 390) <== Memory access at offset 2208 is inside this variable
    [2224, 2228) 'agg.tmp186'
    [2240, 2264) 'ref.tmp197' (line 391)
    [2304, 2328) 'ref.tmp205' (line 392)
    [2368, 2369) 'ref.tmp208' (line 392)
    [2384, 2736) 'exp_graph' (line 397)
    [2800, 2848) 'exp_node_map1' (line 398)
    [2880, 2928) 'exp_node_map2' (line 399)
    [2960, 3008) 'exp_edge_map1' (line 400)
    [3040, 3088) 'exp_edge_map2' (line 401)
    [3120, 3168) 'exp_arc_map1' (line 402)
    [3200, 3248) 'exp_arc_map2' (line 403)
    [3280, 3284) 'exp_n2' (line 404)
    [3296, 3300) 'exp_e1' (line 405)
    [3312, 3316) 'exp_a1' (line 406)
    [3328, 3332) 'exp_attr1' (line 407)
    [3344, 3348) 'exp_attr2' (line 408)
    [3360, 3632) 'is' (line 410)
    [3696, 3720) 'ref.tmp237' (line 410)
    [3760, 4280) 'reader' (line 411)
    [4416, 4440) 'ref.tmp248' (line 413)
    [4480, 4504) 'ref.tmp256' (line 414)
    [4544, 4545) 'ref.tmp259' (line 414)
    [4560, 4584) 'ref.tmp266' (line 415)
    [4624, 4648) 'ref.tmp274' (line 416)
    [4688, 4689) 'ref.tmp277' (line 416)
    [4704, 4728) 'ref.tmp284' (line 417)
    [4768, 4792) 'ref.tmp292' (line 418)
    [4832, 4833) 'ref.tmp295' (line 418)
    [4848, 4872) 'ref.tmp302' (line 419)
    [4912, 4936) 'ref.tmp310' (line 420)
    [4976, 5000) 'ref.tmp318' (line 421)
    [5040, 5064) 'ref.tmp326' (line 422)
    [5104, 5128) 'ref.tmp334' (line 423)
    [5168, 5169) 'ref.tmp337' (line 423)
HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork
      (longjmp and C++ exceptions *are* supported)
SUMMARY: AddressSanitizer: stack-use-after-scope smart_graph.h:455 in lemon::SmartGraphBase::Arc::operator lemon::SmartGraphBase::Edge() const
}}}

Instructions to reproduce:

{{{
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS='-fno-omit-frame-pointer -fsanitize=address'
cmake --build . --target check
}}}
"	Szabolcs Horvát
Milestone: LEMON 1.4 release	631	Lemon c++20 compatibility patch	core	hg main	defect	Alpar Juttner	new	2021-12-13T16:25:37Z	11:52:10Z	"From Kevin Tew:

This feature was remove in c++20.
https://en.cppreference.com/w/cpp/memory/allocator/destroy
replace with
https://en.cppreference.com/w/cpp/memory/allocator_traits/destroy

"	Alpar Juttner
Milestone: LEMON 1.4 release	650	MaxWeightedPerfectMatching fails for some graphs	core	hg main	defect	Alpar Juttner	new	2021-07-03T18:37:02Z	15:05:41Z	"`MaxWeightedPerfectMatching` fails to find a solution for some graphs (i.e. `MaxWeightedPerfectMatching.run()` returns `false`).

I attach 4 graphs which fail (`failing_graph_i.lgf` for `i=1,2,3,4`), as well as one which succeeds (`working_graph.lgf`), drawn from the same distribution, for comparison.

The attached file `main.cpp` attempts to solve the MWPM problem using `lemon::MaxWeightedPerfectMatching` for these graphs and output success/failure.

All five graphs are drawn from the same distribution (from which >1% of graphs fail), however for `failing_graph_1.lgf` and `failing_graph_2.lgf` I changed all the edge weights to 1, and the MWPM problem still fails (i.e. the problem seems to be independent of the choice of edge weights).

I have tested this using versions `lemon-main-a278d16bd2d0` and `lemon-1-3-e5af35e6c93f` (both fail)."	Oscar Higgott
Milestone: LEMON 1.4 release	628	make find package failed	core	release branch 1.3	defect	Alpar Juttner	new	2020-01-09T08:06:31Z	08:06:31Z	"On Ubuntu >= 18.04, after installing `liblemon` by `make install` and use it in other packages, cmake throws error:
  By not providing ""Findlemon.cmake"" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by ""lemon"", but
  CMake did not find one.

  Could not find a package configuration file provided by ""lemon"" with any of
  the following names:

    lemonConfig.cmake
    lemon-config.cmake

  Add the installation prefix of ""lemon"" to CMAKE_PREFIX_PATH or set
  ""lemon_DIR"" to a directory containing one of the above files. If ""lemon""
  provides a separate development package or SDK, be sure it has been
  installed.

I use CMake Version >= 3.10

How to fix: `LEMONConfig.cmake` should be changed to `lemonConfig.cmake` in 
root `CMakeLists.txt`.
```
IF(UNIX)
  INSTALL(
    FILES ${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake
    DESTINATION share/lemon/cmake
  )
```"	zhaofeng-shu33
Milestone: LEMON 1.4 release	625	lemon preflow algorithm init with flowmap failed because of excess < 0	core	hg main	defect	Alpar Juttner	reopened	2019-09-23T16:22:32Z	11:39:48Z	"I use the returned flowMap of Preflow algorithm to initialize the next Preflow class. But it fails because of in the Preflow code, the excess check gives -1e-19 < 0.
The test code can be seen at https://gitee.com/freewind201301/test_preflow/blob/master/test_preflow.cpp
.
Hope some tolerance can be added."	zhaofeng-shu33
Milestone: LEMON 1.4 release	626	Bug in CBC ProblemType determination	core	hg main	defect	Alpar Juttner	new	2019-07-29T05:45:30Z	05:45:30Z	"Péter Madarasi reports the following:

Solving a MIP with CBC-vel, if the presolver determined the the problem is infeasible, then CbcMip::type() wrongly returns FEASIBLE.

To fix it, [source:/lemon/lemon/cbc.cc#L391 line 391 of cbc.cc] should be changed to
{{{
else if(_cbc_model->isProvenInfeasible() || _cbc_model->isInitialSolveProvenPrimalInfeasible())
  return INFEASIBLE;
}}}"	Alpar Juttner
Milestone: LEMON 1.4 release	621	Lemon and Boost: call of overloaded ‘ignore_unused_variable_warning(...)’ is ambiguous	core	hg main	defect	Alpar Juttner	new	2019-05-23T09:43:16Z	10:46:46Z	"Hello dear team of LEMON.

The error is as far as i can tell not new.
I have seen back in 2013 there has been an attempt to address that issue here at LEMON in issue #294.
As well as on the side of boost in the issue 9438 [https://svn.boost.org/trac10/ticket/9438#no1] and 514 [https://github.com/boostorg/geometry/pull/514]

**But it happens still:** Because there are ambigous declarations for  `ignore_unused_variable_warning(...)` in `boost` and `lemon` the RTree implementations of boost cannot be used with lemon nodes. 

Since on the side of boost/geometry the issue has not been tackled further, I would like to ask you if there is a chance of replacement or unambiguously calling ignore_unused_variable_warning() in LEMON.

- OS: Ubuntu 18.04 Bionic Beaver
- clang: 6.0
- lemon: 1.3.1
- boost: happened under 1.63 and  was reproduced with boost 1.68

{{{
#include <boost/geometry.hpp>
#include <lemon/list_graph.h>

namespace bg = boost::geometry;
namespace bgi = boost::geometry::index;

using Point = boost::geometry::model::point<double, 2, bg::cs::cartesian>;
using Graph = lemon::ListDigraph;
using Node = lemon::ListDigraph::Node;
typedef std::pair<Point, Node> Pair;
using BoostRTree = bgi::rtree<Pair, bgi::quadratic<16>>;
using BoostQueryResult = std::vector<Pair>;

int main()
{
	Point one = Point(10, 51);
	Point two = Point(10, 51);
	BoostRTree rtreePair = BoostRTree();
	Graph graph;
	Node dummy1 = graph.addNode();
	Node dummy2 = graph.addNode();

	rtreePair.insert(std::make_pair(one, dummy1));	
	return 0;
}

}}}

Here is the first error instance of the compiler output.
All output has ~200k characters... not sure you want to see it, since the error is raised in boost-code.

{{{
In file included from /usr/include/boost/range/concepts.hpp:19:0,
                 from /usr/include/boost/range/size_type.hpp:20,
                 from /usr/include/boost/range/size.hpp:21,
                 from /usr/include/boost/range/functions.hpp:20,
                 from /usr/include/boost/range/iterator_range_core.hpp:38,
                 from /usr/include/boost/lexical_cast.hpp:30,
                 from /usr/include/boost/math/tools/convert_from_string.hpp:15,
                 from /usr/include/boost/math/constants/constants.hpp:13,
                 from /usr/include/boost/geometry/util/math.hpp:28,
                 from /usr/include/boost/geometry/core/radian_access.hpp:33,
                 from /usr/include/boost/geometry/geometry.hpp:43,
                 from /usr/include/boost/geometry.hpp:17,
                 from test.cpp:1:
/usr/include/boost/concept_check.hpp: In instantiation of ‘boost::DefaultConstructible<TT>::~DefaultConstructible() [with TT = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>*]’:
/usr/include/boost/iterator/iterator_concepts.hpp:143:3:   required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost_concepts::ForwardTraversal<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>*>]’
/usr/include/boost/geometry/index/detail/varray.hpp:288:9:   required from ‘boost::geometry::index::detail::varray<Value, Capacity>::varray(Iterator, Iterator) [with Iterator = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>*; Value = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>; long unsigned int Capacity = 17]’
/usr/include/boost/geometry/index/detail/rtree/quadratic/redistribute_elements.hpp:116:24:   required from ‘static void boost::geometry::index::detail::rtree::redistribute_elements<Value, Options, Translator, Box, Allocators, boost::geometry::index::detail::rtree::quadratic_tag>::apply(Node&, Node&, Box&, Box&, const parameters_type&, const Translator&, Allocators&) [with Node = boost::geometry::index::detail::rtree::variant_leaf<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::node_variant_static_tag>; Value = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>; Options = boost::geometry::index::detail::rtree::options<boost::geometry::index::quadratic<16>, boost::geometry::index::detail::rtree::insert_default_tag, boost::geometry::index::detail::rtree::choose_by_content_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::quadratic_tag, boost::geometry::index::detail::rtree::node_variant_static_tag>; Translator = boost::geometry::index::detail::translator<boost::geometry::index::indexable<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, boost::geometry::index::equal_to<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> > >; Box = boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >; Allocators = boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>; boost::geometry::index::detail::rtree::redistribute_elements<Value, Options, Translator, Box, Allocators, boost::geometry::index::detail::rtree::quadratic_tag>::parameters_type = boost::geometry::index::quadratic<16>]’
/usr/include/boost/geometry/index/detail/rtree/visitors/insert.hpp:164:17:   required from ‘static void boost::geometry::index::detail::rtree::split<Value, Options, Translator, Box, Allocators, boost::geometry::index::detail::rtree::split_default_tag>::apply(boost::geometry::index::detail::rtree::split<Value, Options, Translator, Box, Allocators, boost::geometry::index::detail::rtree::split_default_tag>::nodes_container_type&, Node&, Box&, const parameters_type&, const Translator&, Allocators&) [with Node = boost::geometry::index::detail::rtree::variant_leaf<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::node_variant_static_tag>; Value = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>; Options = boost::geometry::index::detail::rtree::options<boost::geometry::index::quadratic<16>, boost::geometry::index::detail::rtree::insert_default_tag, boost::geometry::index::detail::rtree::choose_by_content_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::quadratic_tag, boost::geometry::index::detail::rtree::node_variant_static_tag>; Translator = boost::geometry::index::detail::translator<boost::geometry::index::indexable<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, boost::geometry::index::equal_to<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> > >; Box = boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >; Allocators = boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>; boost::geometry::index::detail::rtree::split<Value, Options, Translator, Box, Allocators, boost::geometry::index::detail::rtree::split_default_tag>::nodes_container_type = boost::geometry::index::detail::varray<boost::geometry::index::detail::rtree::ptr_pair<boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::variant<boost::geometry::index::detail::rtree::variant_leaf<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::variant_internal_node<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16, 4>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16, 4>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::node_variant_static_tag> >*>, 1>; typename boost::geometry::index::detail::rtree::elements_type<typename boost::geometry::index::detail::rtree::internal_node<Value, typename Options::parameters_type, Box, Allocators, typename Options::node_tag>::type>::type::value_type = boost::geometry::index::detail::rtree::ptr_pair<boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::variant<boost::geometry::index::detail::rtree::variant_leaf<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::variant_internal_node<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16, 4>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16, 4>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::node_variant_static_tag> >*>; boost::geometry::index::detail::rtree::split<Value, Options, Translator, Box, Allocators, boost::geometry::index::detail::rtree::split_default_tag>::parameters_type = boost::geometry::index::quadratic<16>]’
/usr/include/boost/geometry/index/detail/rtree/visitors/insert.hpp:357:26:   required from ‘void boost::geometry::index::detail::rtree::visitors::detail::insert<Element, Value, Options, Translator, Box, Allocators>::split(Node&) const [with Node = boost::geometry::index::detail::rtree::variant_leaf<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::node_variant_static_tag>; Element = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>; Value = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>; Options = boost::geometry::index::detail::rtree::options<boost::geometry::index::quadratic<16>, boost::geometry::index::detail::rtree::insert_default_tag, boost::geometry::index::detail::rtree::choose_by_content_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::quadratic_tag, boost::geometry::index::detail::rtree::node_variant_static_tag>; Translator = boost::geometry::index::detail::translator<boost::geometry::index::indexable<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, boost::geometry::index::equal_to<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> > >; Box = boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >; Allocators = boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>]’
/usr/include/boost/geometry/index/detail/rtree/visitors/insert.hpp:326:18:   [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/boost/variant/variant.hpp:2431:52:   required from ‘typename Visitor::result_type boost::variant<T0, TN>::apply_visitor(Visitor&) [with Visitor = boost::geometry::index::detail::rtree::visitors::insert<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::detail::rtree::options<boost::geometry::index::quadratic<16>, boost::geometry::index::detail::rtree::insert_default_tag, boost::geometry::index::detail::rtree::choose_by_content_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::quadratic_tag, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::translator<boost::geometry::index::indexable<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, boost::geometry::index::equal_to<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> > >, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::insert_default_tag>; T0_ = boost::geometry::index::detail::rtree::variant_leaf<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::node_variant_static_tag>; TN = {boost::geometry::index::detail::rtree::variant_internal_node<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16, 4>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16, 4>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::node_variant_static_tag>}; typename Visitor::result_type = void]’
/usr/include/boost/variant/detail/apply_visitor_unary.hpp:70:43:   required from ‘typename Visitor::result_type boost::apply_visitor(Visitor&, Visitable&) [with Visitor = boost::geometry::index::detail::rtree::visitors::insert<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::detail::rtree::options<boost::geometry::index::quadratic<16>, boost::geometry::index::detail::rtree::insert_default_tag, boost::geometry::index::detail::rtree::choose_by_content_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::quadratic_tag, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::translator<boost::geometry::index::indexable<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, boost::geometry::index::equal_to<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> > >, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::insert_default_tag>; Visitable = boost::variant<boost::geometry::index::detail::rtree::variant_leaf<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::variant_internal_node<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16, 4>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16, 4>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::node_variant_static_tag> >; typename Visitor::result_type = void]’
/usr/include/boost/geometry/index/detail/rtree/node/variant_visitor.hpp:51:25:   required from ‘void boost::geometry::index::detail::rtree::apply_visitor(Visitor&, boost::variant<boost::geometry::index::detail::rtree::variant_leaf<Value, Parameters, Box, Allocators, Tag>, boost::geometry::index::detail::rtree::variant_internal_node<Value, Parameters, Box, Allocators, Tag> >&) [with Visitor = boost::geometry::index::detail::rtree::visitors::insert<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::detail::rtree::options<boost::geometry::index::quadratic<16>, boost::geometry::index::detail::rtree::insert_default_tag, boost::geometry::index::detail::rtree::choose_by_content_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::quadratic_tag, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::translator<boost::geometry::index::indexable<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, boost::geometry::index::equal_to<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> > >, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::rtree::insert_default_tag>; Value = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>; Parameters = boost::geometry::index::quadratic<16>; Box = boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >; Allocators = boost::geometry::index::detail::rtree::allocators<std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >, std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>, boost::geometry::index::quadratic<16>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>; Tag = boost::geometry::index::detail::rtree::node_variant_static_tag]’
/usr/include/boost/geometry/index/rtree.hpp:1454:37:   required from ‘void boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::raw_insert(const value_type&) [with Value = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>; Parameters = boost::geometry::index::quadratic<16>; IndexableGetter = boost::geometry::index::indexable<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >; EqualTo = boost::geometry::index::equal_to<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >; Allocator = std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >; boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::value_type = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>]’
/usr/include/boost/geometry/index/rtree.hpp:582:15:   required from ‘void boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::insert(const value_type&) [with Value = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>; Parameters = boost::geometry::index::quadratic<16>; IndexableGetter = boost::geometry::index::indexable<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >; EqualTo = boost::geometry::index::equal_to<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >; Allocator = std::allocator<std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node> >; boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::value_type = std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>]’
test.cpp:23:49:   required from here
/usr/include/boost/concept_check.hpp:139:37: error: call of overloaded ‘ignore_unused_variable_warning(std::pair<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>, lemon::ListDigraphBase::Node>*&)’ is ambiguous
       ignore_unused_variable_warning(a);

}}}

"	F.Meckel
Milestone: LEMON 1.4 release	616	Current version 1.3.1 Incompatible with SoPlex-4.0.0	core	hg main	defect	Alpar Juttner	new	2018-12-09T19:55:56Z	19:55:56Z	"First, it can't find the header because the header is in include/soplex/:

{{{
/usr/ports/math/coin-or-lemon/work/lemon-1.3.1/lemon/soplex.cc:23:10: fatal error: 'spxout.h' file not found
#include <spxout.h>
         ^~~~~~~~~~
}}}

Then it fails to compile:
{{{
/usr/ports/math/coin-or-lemon/work/lemon-1.3.1/lemon/soplex.cc:44:7: error: static_cast from 'soplex::SoPlex *' to 'soplex::SPxLP *' (aka 'SPxLPBase<double> *'), which are not related by inheritance, is not allowed
    (*static_cast<soplex::SPxLP*>(soplex)) = *(lp.soplex);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/math/coin-or-lemon/work/lemon-1.3.1/lemon/soplex.cc:76:13: error: no member named 'addCol' in 'soplex::SoPlex'
    soplex->addCol(c);
    ~~~~~~  ^
/usr/ports/math/coin-or-lemon/work/lemon-1.3.1/lemon/soplex.cc:80:20: error: no member named 'nCols' in 'soplex::SoPlex'
    return soplex->nCols() - 1;
           ~~~~~~  ^
/usr/ports/math/coin-or-lemon/work/lemon-1.3.1/lemon/soplex.cc:87:13: error: no member named 'addRow' in 'soplex::SoPlex'
    soplex->addRow(r);
    ~~~~~~  ^
/usr/ports/math/coin-or-lemon/work/lemon-1.3.1/lemon/soplex.cc:91:20: error: no member named 'nRows' in 'soplex::SoPlex'
    return soplex->nRows() - 1;
           ~~~~~~  ^
}}}

Please make a release that fixes the problem.

FreeBSD 11.2 amd64
SoPlex-4.0.0 installed from the port.
"	yurivict
Milestone: LEMON 1.4 release	33	Benchmarking	core		task	Alpar Juttner	new	2013-08-02T12:33:35Z	10:51:41Z	"Lemon seriously needs a benchmarking environment to test
 - the effect of implementation changes on the running time
 - performance of different compilers ans optimization settings

This environment should contain
 - scripts for automated testing.
 - carefully chosen set test files and graph generators.
"	Alpar Juttner
Milestone: LEMON 1.4 release	660	Drop support for C++98	core	hg main	enhancement	Alpar Juttner	new	2021-11-26T14:10:21Z	14:10:21Z	The title explains everything.	Alpar Juttner
Milestone: LEMON 1.4 release	622	unused variable in elevator.h	core	hg main	enhancement	Alpar Juttner	new	2019-09-23T15:10:51Z	09:08:35Z	"There are some unused class private variables in elevator.h. For example, _items[i] for i > 0 (class Elevator); _item_num (class LinkedElevator).
"	zhaofeng-shu33
Milestone: LEMON 1.4 release	421	Better DAG test and topological ordering implementation	core	hg main	enhancement	Alpar Juttner	new	2019-05-17T06:49:16Z	17:16:52Z	"Currently all these functions use Dfs with a custom visitor. I have a feeling that a direct algorithm might be faster and/or more memory efficient. The algorithm I propose is the following:

 - Compute the in-degree of all nodes and store them in a `NodeMap` `deg`.
 - Put all node `n` with `deg[n]==0` into a queue (or a stack) `q`.
 - While `q` is not empty:
   - Get a node `n` from `q`. This is the next node in the topological order.
   - For each out-arc `a` of `n`:
     - Decrease `deg[target(a)]` by 1
     - If `deg[target(a)]==0` then put `target(a)` into `q`
"	Alpar Juttner
Milestone: LEMON 1.4 release	427	Create build() routine for StaticDigraph that allows # of arcs to be set explicitly	core	hg main	enhancement	Alpar Juttner	new	2018-10-23T01:05:37Z	03:23:52Z	"Hello,

I recently tried used StaticDigraph with an iterator that used a forward-only traversal concept, as it was a thin wrapper to some rather complicated underlying structures.  The problem is that the std::distance() call cause the iterator to run through the entire set to get the number of arcs, even though this was something I knew beforehand.  Rather than create some sort of clumsy workaround, I found it easy to add another version of build() that permitted one to pass in the number of arcs explicitly.  It's possible that mine is a rare case, but in case people are interested, here is a patch that does this.  It's complete with appropriate documentation changes."	Hoyt Koepke
Milestone: LEMON 1.4 release	597	VF2 (sub)graph isomoprism algorithm	core	hg main	enhancement	Alpar Juttner	reopened	2018-10-18T16:07:24Z	10:09:18Z	"The changesets [a037254714b3], [2f479109a71d] and [f85ee41c84bc] implement a slightly modified version of the VF2 algorithm for finding isomorphic copy of a graph as subgraph of another. It can find either normal or induced subgraph, or an isomorphism between the two graphs. It is also capable of enumerating all possible embedding. Finally, nodes can be labeled in order to model different (i.e. unmatchable) node types.

The function type interface can be considered final, the base class may be refined later.

This development was sponsored by !QuantumBio Inc.
"	Alpar Juttner
Milestone: LEMON 1.4 release	261	Support floating-point data in min-cost flow algorithms	core	hg main	enhancement	Peter Kovacs	reopened	2017-05-25T15:29:49Z	14:31:07Z	This is a follow-up of #254.	Alpar Juttner
Milestone: LEMON 1.4 release	594	STL syle iterators - phase II.	core	hg main	enhancement	Alpar Juttner	new	2015-10-08T08:31:25Z	18:46:57Z	STL style iterators could be also added to other places. These possibilities should be discussed here.	Alpar Juttner
Milestone: LEMON 1.4 release	462	Extended run time checking in debug mode	core	hg main	enhancement	Alpar Juttner	new	2013-10-26T18:47:31Z	08:17:23Z	"When using more graph instances of the same time (e.g. `ListDigraph`) in a code, it is a very common error that a `Node` or `Arc` is used with a different graph that they actually belong to. For example a `NodeMap` may be indexed by a node belonging to another graph. These kind of errors remain hidden during the compilation.

I propose adding a pointer to the owner graph to each `Node` and `Arc` objects, and check their the validity of the relevant graph and map operations. This feature would be turned on ''in debug mode only''.

Two things are worth checking:
- The item should belong to the corresponding graph
- The item should be valid (i.e. not `INVALID` and point to an existing item)


Here is a --- maybe incomplete --- list where checking could be made:

- `source()`, `target()`, `u()`, `v()`, `runningNode()`, `baseNode()`
- `id()`
- constructors of the iterators
- `operator++()` of the iterators (validity check only)
- `*Map<>::operator[]()'`, `*Map<>::set()'`,
- `changeSource()`, `changeTarget()`, `reverse()`"	Alpar Juttner
Milestone: LEMON 1.4 release	3	ListGraph should store/update the number of edges and nodes	core	hg main	enhancement	Peter Kovacs	assigned	2013-08-02T12:34:26Z	12:10:42Z	"Counting the number of edges and nodes is a frequent graph operation. Now, it takes linear time to get these values. Instead we might store these values and update them at every edge/node addition and deletion.

Of course this change would slow down these operations a bit.

  This ticket is a copy of report !#8 of the old bug tracking system. It refers to svn trunk -!r2460."	Alpar Juttner
Milestone: LEMON 1.4 release	431	Remember the lastly evaluated arcs in Circulation (and in Preflow)	core	hg main	enhancement	Alpar Juttner	new	2013-03-09T10:07:35Z	06:53:37Z	"The [attachment:23a4fa3a7e62.patch attached patch] changes the behavior of `Circulation` class.

For each node, we now store the lastly evaluated arc, so we can continue from this arc instead of starting from the beginning when the node is evaluated again.

A test on a network of 32768 nodes and 262892 arcs (generated by `netgen`) shows a running time improvement of 24%. A much more comprehensive test would of course be necessary, but this number seems quite promising.

The same idea can (should?) also be applied to the `Preflow` class."	Alpar Juttner
Milestone: LEMON 1.4 release	318	Document MapIt, ConstMapIt and ItemIt classes of standard maps	documentation	hg main	enhancement	Peter Kovacs	new	2013-03-07T09:44:01Z	06:09:40Z	"There are three iterator classes: `MapIt`, `ConstMapIt` and `ItemIt` for all standard graph maps, which seem to be useful. However they are neither documented nor tested in the concept classes. I think, they sohuld be.

This ticket is a follow-up of #311."	Peter Kovacs
Milestone: LEMON 1.4 release	252	Smaller iterator classes for some graph structures	core	hg main	enhancement	Peter Kovacs	assigned	2013-03-07T08:51:08Z	16:58:58Z	"All the `NodeIt`, `ArcIt`, `EdgeIt` etc. iterator classes stores a pointer for the underlying (di)graph. However it wouldn't be necessary in some cases.

E.g. `SmartDigraph::next(Node&)` and `SmartDigraph::next(Arc&)` are static functions. Thus `SmartDigraph::NodeIt` and `SmartDigraph::ArcIt` could be implemented without a pointer to the graph. The three `next()` functions of `SmartGraph` are not static, but they could/should be. The special graph structures (`FullGraph`, `HypercubeGraph`, `GridGraph`) also have static `next()` functions."	Peter Kovacs
Milestone: LEMON 1.4 release	374	Functions for weakly connected components	core	hg main	enhancement	Alpar Juttner	new	2013-03-02T17:07:15Z	14:17:46Z	"I suggest to have the following functions:
{{{
#!cpp
bool weaklyConnected (const Digraph &graph);
int countWeaklyConnectedComponents (const Digraph &graph);
int weaklyConnectedComponents (const Digraph &graph, NodeMap &compMap);
}}}
which would work the same way as `connected()`, `countConnectedComponents()` and `connectedComponents()` for the undirected version of the digraph.

These proposed functions could be implemented easily using the `Undirector` adaptor and the undirected connectivity tools."	Peter Kovacs
Milestone: LEMON 1.4 release	620	Infinite loop in Nagamochi-Ibaraki with floating-point capacities	core	hg main	defect	Alpar Juttner	new	2019-02-08T12:20:39Z	20:22:22Z	Floating point errors can cause the current Nagamochi-Ibaraki-implementation to get stuck because no edges are contracted in the iteration. I fixed this by using `Tolerance` in the relevant place (see attached patch). I also added a test case for this issue.	Malte Schürks
Milestone: LEMON 1.4 release	658	CMake Rework	core	hg main	enhancement	Alpar Juttner	new	2022-07-13T16:18:58Z	14:31:57Z	"Major rework of CMake for easier consumption in other projects.
Minimum CMake version now 3.15. 

The major benefit of this is that consumption of LEMON from other projects is now really easy using `FetchContent` as shown in the demo.

Also: 
- Added copyright headers
- Explicit building options and disabled `Maintainer` options by default
"	David Torres Sanchez
Milestone: LEMON 1.4 release	618	Constrained time measure	core	hg main	enhancement	Alpar Juttner	new	2019-05-15T20:11:35Z	09:53:32Z	"It is not simple to implement benchmarking tool in C++. One of the difficulties is that some algorithms can run for unacceptable long time on some inputs, so the benchmark running time can be impractical.

There are workarounds for this problem. For example, we can blacklist some test cases for some algorithms, but this can be a tedious work, and it requires updates on algorithm changes. Other solution is to use a controller script which starts the benchmarking tool with different parameters, but this requires the separation of the controller tool and the benchmark tool.

Instead of the previous solutions, I propose a time measure tool, which executes a function with a time constraint. Technically, this can be implemented with a forked subprocess in unix systems (WIN32 doesn't have proper tool for it). This solution is similar to using a controller script, but we don't need to split out the test cases to the script.

My implementation is [7a1a282efbb4]."	Balazs Dezso
Milestone: LEMON 1.5 release	146	Cheap copy of maps (reference counting) PHASE II.	core		enhancement	Alpar Juttner	assigned	2016-07-15T11:22:32Z	14:06:45Z	This is a follow-up of #137.	Alpar Juttner
Milestone: LEMON 1.5 release	59	Port the remaining spanning tree algorithms	core		task	Alpar Juttner	new	2018-10-26T11:12:57Z	12:49:48Z	"The following files are affected.

 - lemon/fredman_tarjan.h
 - lemon/prim.h
"	Alpar Juttner
Milestone: LEMON 1.5 release	346	Port the remaining shortest path algorithms	core	hg main	task	Alpar Juttner	new	2016-07-15T11:41:08Z	13:10:36Z	"The following files are affected:
 - lemon/floyd_warshall.h
 - lemon/johnson.h
 - lemon/dag_shortest_path.h
 - test/all_pairs_shortest_path_test.cc

This ticket is a follow-up of #51."	Peter Kovacs
Milestone: LEMON 1.5 release	227	Command line tool for executing various algorithms	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:34:29Z	07:38:13Z	"This tool would read a .lgf file and run an algorithm on it. Finally it would report about the result or write the solution into a file. It should provide a wide range of algorithms which could be selected with command line options.

This is somewhat similar to that are proposed in #226, but I think they should be separate tools, as that one have a quite limited feature set, while this one will probably become a complex tool with tons of option with the time."	Alpar Juttner
Milestone: LEMON 1.5 release	351	Port the LP utilities	core	hg main	task	Balazs Dezso	new	2016-07-15T11:41:21Z	23:07:03Z	"Revise and port the Lp utilities from SVN, namely

  - `lp_utils.h`
  - `lp_utils.cc`"	Peter Kovacs
Milestone: LEMON 1.5 release	191	Benchmark questions related to Preflow	core	hg main	enhancement	Peter Kovacs	new	2018-11-01T12:03:43Z	21:43:09Z	"There are some efficiency questions about the `Preflow` implementation, that require thorough benchmarking.

 - `Elevator` or `LinkedElevator` should be used by default?
 - The BFS implementation in the `init()` function could be made more efficient using only one vector and three indices (`first`, `last`, `new_level`).
 - We should try very large instances and check again whether the current heuristics and the constant 20 factor that is used for them are really optimal or not.
 - We should try Goldberg's new idea of partial augmentations. (However it should probably be a new class.)"	Peter Kovacs
Milestone: LEMON 1.5 release	363	Implementing a planar graph type	core	hg main	enhancement	Balazs Dezso	new	2018-10-26T11:55:32Z	19:30:45Z	My goal is to implement classes for planar graphs. The !PlanarGraph class maintains a topology of nodes, edges and faces and provides algorithms that are characteristic to planar graphs. !PlaneGraph extends this functionality with geometric properties, such as node coordinates and arc shapes.	gyorokp
Milestone: LEMON 1.5 release	375	Both lower and upper supply bounds in Network simplex	core	hg main	enhancement	Peter Kovacs	assigned	2018-10-26T11:42:26Z	05:15:34Z	"The idea is to extend Network Simplex so that the form of the problems are fully compatible with the one used by the LP solvers i.e.
                
{{{
m_l<=Ax<=m_u
l<=x<=u
}}}"	Alpar Juttner
Milestone: LEMON 1.5 release	370	Edge coloring algorithms	core	hg main	enhancement	Alpar Juttner	new	2018-10-26T11:37:30Z	04:33:16Z	"Hello,

for a project I am working on I had to implement a couple of edge 
coloring algorithms. If there is any interest I could LEMON-ify them.

A valid edge coloring is a coloring of the edges so that each node has 
no two incident edges colored in the same way.

What is implemented is:
* An edge map to store valid colorings and that supports the queries 
needed by the algorithms in a fast way.
* An algorithm that colors bipartite graphs using at most as many colors 
as the maximum node degree.
* Vizing's algorithm to color general simple graphs using at most as 
many colors as the maximum node degree + 1.
* Test cases

Both algorithms are in O(m*n)

For general simple graphs it is not always possible to color them using 
only maximum node degree. An example is K_3. Determining if this is 
possible is NP-hard so Vizing's algorithm seems to be the best you can 
get within polynomial time.

I've attached my code.

Best regards,
Ben Strasser
"	Ben Strasser
Milestone: LEMON 1.5 release	475	DigraphWriter<> always saves Arc label	core	hg main	enhancement	Alpar Juttner	new	2018-10-26T11:14:00Z	08:32:55Z	The `DigraphWriter` class always saves an `label` map in the `@arcs` section, even if it is not given explicitly not Arcs are saved in the `@attributes` section. I think it is unnecessary to save an auto generated label map in this case.	Alpar Juttner
Milestone: LEMON 1.5 release	426	Expose CBC/CPL original interface in CbcMip and ClpLp	core	hg main	enhancement	Alpar Juttner	new	2018-10-26T11:13:47Z	04:54:27Z	Something like [http://lemon.cs.elte.hu/pub/doc/1.2.2/a00148.html GlpkBase::lpx*] would be a satisfactory solution.	Alpar Juttner
Milestone: LEMON 1.5 release	345	Obtaining and storing the LP solution	core	hg main	enhancement	Alpar Juttner	new	2018-10-26T11:13:33Z	11:48:59Z	"It would be nice if the LP and MIP solver interfaces provided functions for obtaining the LP solution at once. We could use a class that can store the solution efficiently, i.e. it should store variable-value pairs for the non-zero valued variables.

This ticket is a follow-up of #326."	Peter Kovacs
Milestone: LEMON 1.5 release	287	Specify argument order for ArgParser	core	hg main	enhancement	Alpar Juttner	new	2018-10-26T11:13:22Z	11:04:08Z	"I think it would be nice if the order in which `ArgParser` prints out the arguments and their documentations would be able to be changed. A good example is lgf-gen, for which a lot of command line arguments are printed and the alphabetical order makes them more difficult to overview.

I suggest two options: alphabetical order and the order in which the arguments were specified. The first one could be the default, but the second one could be selected as an alternative."	Peter Kovacs
Milestone: LEMON 1.5 release	381	Simplified heaps without priority update	core	hg main	enhancement	Alpar Juttner	new	2018-10-26T11:13:10Z	15:41:14Z	"The existing heap implementations in LEMON cointain an Item->int map to indicate the current location of each item. It is required to implement `increase()`, `decrease()`, `erase()`, etc. functions.
However, simplified heaps could be implemented with a limited functionality (`push()`, `pop()`, `top()`, `prio()`, `size()`, `empty()`, `clear()`, etc.) without this cross reference map. For such heaps, the basic `push()` and `pop()` operations could be implemented more efficiently, but the duplications of items could not be avoided.

A Dijkstra or Prim algorithm could be implemented with such heaps, but it would require slight modifications. A node should be pushed each time its distance label is updated (i.e. more than once in some cases), and the duplicate nodes should be skipped after each `pop()` operation.

It would be nice to introduce such implementations in LEMON. I think, they would lead to better performance in many practical cases, because not too many duplications would be expected on typical graphs. However, there are some problems with this proposal. First, such heaps would not conform to the current heap concept. Second, using them would require different implementation of the algorithms."	Peter Kovacs
Milestone: LEMON 1.5 release	402	Maps don't initialize subseqnetly added graph elements to the map-constructor's initial value.	core	release branch 1.2	enhancement	Alpar Juttner	new	2016-09-12T12:49:13Z	23:30:42Z	"Greetings all.

I'm experiencing a ( perceived ) problem with Maps.  Maps ""know"" when new elements in a graph are added, and provide a default value.  One of the two constructors for a map allows a user ( me ) to specify this default value.  I expect that, all elements of a graph will receive that value upon map-construction, and I expect subsequent graph element additions to also take on that value.  I observe that, all elements of a graph *do* receive the default value upon map-construction, but *do not* set my specified default-value when new elements are subsequently added to the graph.

I have a test program, which I will attach.

I also have a diff against lemon/bits/{array,vector}_map.h that attempt to remedy this situation, and hopefully reinforce my expected behaviour.

Please advise on if this is in fact a bit, or if it is intentional by design and my understanding is incorrect."	Charles Wilcox
Milestone: LEMON 1.5 release	466	Extended std::vector<>	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T12:03:18Z	07:28:12Z	"Based upon the idea of #462.

We could implement a wrapper around `std::vector<>` with the following two extra features.

- A extra permanent iterator. It has the same functionality as `std::vector::iterator` but remains valid even when the vector is extended by new elements. Technically, it contains a pointer to the base vector plus an index.
- An `index` type. In non-debug mode it is just a `size_t`, but in debug mode it also contains a pointer to the vector it indexes, thus `operator[]()` is able to check if the index indexes the right vector (and also if it is in the actual range).

Both would be safer alternatives to referencing `std::vector<>`'s elements by integer indices."	Alpar Juttner
Milestone: LEMON 1.5 release	451	Functionality to test graph data structure consistency	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T12:02:28Z	04:58:01Z	The graph implementations (and other complex data structures, too) could provide a `dsSelfCheck()` member function, which thoroughly tests the inner consistency of the underlying data structures. This could help testing the correctness of the graph operations, thus preventing us from bugs like #450.	Alpar Juttner
Milestone: LEMON 1.5 release	425	API for giving back the state of Random	core	hg main	enhancement	Balazs Dezso	new	2016-07-15T11:57:05Z	15:36:26Z	"In some cases, it would be nice if we could query the state (i.e. the current seed) of Random in a format that is savable to a text file and retrievable later.
"	Alpar Juttner
Milestone: LEMON 1.5 release	409	Extend unionfind_test.cc	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:55:50Z	16:04:18Z	"The following classes should be tested:
 - `UnionFind`
 - `ExtendFindEnum`
 - `HeapUnionFind`

This ticket is a follow-up of #101."	Peter Kovacs
Milestone: LEMON 1.5 release	407	Extend random_test.cc	core	hg main	enhancement	Balazs Dezso	new	2016-07-15T11:55:36Z	16:00:54Z	This ticket is a follow-up of #101.	Peter Kovacs
Milestone: LEMON 1.5 release	400	MPL LpSolver/MipSolver backend	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:54:13Z	05:33:02Z	"The idea is to write an LP/MIP interface that is able to build up the problem, but when solving, it first create an MPL file, call the external command line solver, then parse back the output of the solver.

Of course it will be less efficient than using the C API of the same solver, but
 - it can be useful to have the LP program built up by our code in MPL format, so that we can play with the solver separately (e.g. for experimenting with the tuning options).
 - for some legal reason, it may simply be impossible to link the mip/lp solver to our code."	Alpar Juttner
Milestone: LEMON 1.5 release	399	Missing getter and streaming operator for Node/Arc id	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:54:02Z	15:57:10Z	please implement a getter and streaming operator for the id field of the Node and Arc class. This would be very helpful. Always have to use the graph class is very inconvenient and sometimes not even possible. thx	tobi_connect
Milestone: LEMON 1.5 release	394	Add supprt for lp_solve	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:52:55Z	05:21:21Z	"http://lpsolve.sourceforge.net/5.5/

http://sourceforge.net/projects/lpsolve/
"	Alpar Juttner
Milestone: LEMON 1.5 release	385	QuadHeap instead of BinHeap in Dijkstra	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:50:56Z	21:33:32Z	"It is questionable whether `Dijkstra` should use `QuadHeap` instead of `BinHeap` by default.

In theory, a fourary heap is at least as efficient as a binary heap independently of the actual use case. I made some benchmark tests in which `QuadHeap` turned out to be typically faster than `BinHeap`, especially when many `decrease()` operations are performed. See the benchmark results [attachment:ticket:313:heap_benchmark_results.txt here]. However, binary heap is the ""standard"" choice."	Peter Kovacs
Milestone: LEMON 1.5 release	384	Adaptor class for complementary graph	core	hg main	enhancement	Balazs Dezso	new	2016-07-15T11:50:18Z	21:12:35Z	It would be nice to have an adaptor class to obtain the complementary graph of a simple, undirected graph.	Peter Kovacs
Milestone: LEMON 1.5 release	373	Compile time assertion	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:43:33Z	14:06:30Z	"Compile time assertion would be useful in some cases (instead of LEMON_ASSERT).

A possible solution is the following:
{{{
#!cpp
template <bool> struct STATIC_ASSERT_FAILURE;
template <> struct STATIC_ASSERT_FAILURE<true> {};
template<int x> struct static_assert_test{};

#define LEMON_COMPILE_ASSERT(x) \
   typedef static_assert_test<\
       sizeof(STATIC_ASSERT_FAILURE< (bool)( x ) >)>\
           _static_assert_typedef_
}}}

It could be used like that:
{{{
LEMON_COMPILE_ASSERT(numeric_limits<T>::is_integer);
}}}"	Peter Kovacs
Milestone: LEMON 1.5 release	329	Sort outgoing arcs in the build() function of StaticDigraph	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:39:32Z	09:40:32Z	"In the `build()` function of `StaticDigraph` which takes another digraph as an argument, the outgoing arcs of each node are sorted 
with respect to their target nodes.

It clearly makes the `build()` function (and copying a graph to `StaticDigraph`) somewhat slower. Preliminary tests showed a difference of about 15 percent. On the other hand, it could make the usage of the constructed graph more efficient due to better caching. However, the trade-off is not clear.

I suggest to make this sorting optional (e.g. by adding a bool parameter to the `build()` function). However, the default option is of high importance here, since it will be used by `DigraphCopy`.

This ticket is a follow-up of #68."	Peter Kovacs
Milestone: LEMON 1.5 release	328	Heuristic MinCostFlow and MinCostMaxFlow	core	hg main	enhancement	Peter Kovacs	assigned	2016-07-15T11:38:43Z	00:23:26Z	"It could be worthwhile to create a heuristic min cost flow solver class named `MinCostFlow`. It would have the same interface as the single algorithms, but it could try to select the best algorithm to run according to the parameters of the problem (size of the graph, density, max. capacity etc.). This class could be used in e.g. thew dimacs solver.

Similarly, we could have a heuristic `MinCostMaxFlow` using `Preflow` and `MinCostFlow`. Or the interface of `MinCostFlow` could be extended to support min cost max flow. See also #244.

This ticket is a follow-up of #180.

"	Peter Kovacs
Milestone: LEMON 1.5 release	297	Graph and map serializer	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:37:30Z	10:22:47Z	"For real distributed computing, it would be nice to have a ''serializer'' for the graphs and the map structures.

By a ''serializer'' I mean a facility to represent a graph/map as a compact raw sequence of bytes that can be sent to another (local or remote) process and the graph/map can be reconstructed from it.

The raw data format should be compact and easy to code and decode, however it cannot be independent from the underlying graph representation, as we must keep the node/arc IDs at the graph reconstruction.

This proposal is somewhat related to #225."	Alpar Juttner
Milestone: LEMON 1.5 release	292	Checker functions for min cost flow	core	hg main	enhancement	Peter Kovacs	assigned	2016-07-15T11:37:17Z	10:50:33Z	"Maybe we could have checker functions for the minimum cost flow algorithms according to the test file. E.g. `checkFeasibility()` and `checkOptimality()` or `checkFlow()` and `checkPotential()`.
They would be similar to the checker functions of `Circulation`.

However it is questionable whether these functions should be introduced to all MCF algorithms or we should have them separetly, since the implementation would be independent form the algorithms."	Peter Kovacs
Milestone: LEMON 1.5 release	271	Provide output  in dimacs-solver	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:36:19Z	22:05:42Z	"Currently dimacs-solver reports only the shortest path length (distance), the max flow value or the min flow cost. It would be better to provide the full solution in DIMACS format.

For the max flow here is a relevant output format (from the webpage of A. V. Goldberg):[[BR]]
http://www.avglab.com/andrew/CATS/maxflow_formats.htm

This format can be used for min cost flow problems as well. I found an MCF solver that actually use this, see the attached sample file.

However I didn't find such output format for shortest path problems. There are various formats for correctness checking and performance reporting, but they are very specific to the 9th DIMACS implementation challenge and follow a slightly different concept.[[BR]]
http://www.dis.uniroma1.it/~challenge9/format.shtml

Maybe we should invent a shortest path output format according to the other dimacs input/output formats, or only provide output for the flow problems."	Peter Kovacs
Milestone: LEMON 1.5 release	251	More efficient graph copying	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:34:46Z	16:44:14Z	"Is there any way to make graph copying faster for graph types like `List(Di)Graph` and `Smart(Di)Graph`?

Maybe we could have specialized versions of `(di)graphCopy()` for the cases when both types are the same, e.g. list or smart graph, which function would directly copy the vectors that represent the graph.

I'm not sure about the implementation, but I think this method would have two advantages:
 - It could be faster.
 - It would keep the node, arc and/or edge ids and the order of the items. Now if you have a `SmartDigraph` and copies it to another `SmartDigraph` structure, then the iteration orders of the nodes and arcs are reversed."	Peter Kovacs
Milestone: LEMON 1.5 release	246	s() and t() as an alias for source() and target()	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:32:58Z	15:11:03Z	"As we have `u()` and `v()` for undirected graphs, it seems to be a good idea to have shorter alias names for `source()` and `target()`, e.g. `s()` and `t()`, since they are among the most frequently used functions.

What do you think about it?"	Peter Kovacs
Milestone: LEMON 1.5 release	244	Support min. cost max. flow in MCF classes	core	hg main	enhancement	Peter Kovacs	assigned	2016-07-15T11:32:19Z	21:29:41Z	"The new concept of the min cost flow classes (see #234) makes it easy to provide interface for the min. cost maximum flow problem, too.

For example, there could be a `maxFlow(Node s, Node t)` function, which could be used instead of `supplyMap()` and `stSupply()`. In this case `Preflow::runMinCut()` should be called to determine the max. flow value (instead of `Circualtion`), and the algorithm have to be initialized as if `stSupport()` was called with this flow value. However apart from that nothing have to be changed."	Peter Kovacs
Milestone: LEMON 1.5 release	238	Min cut iterators in Preflow	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:32:03Z	22:02:45Z	It would be nice to have iterators for obtaining the min. cut in `Preflow` class. E.g. there could be `MinCutNodeIt` and `MinCutArcIt` similarly to the ones in `GomoryHu` class (but note that in `Preflow` we have directed cuts).	Peter Kovacs
Milestone: LEMON 1.5 release	225	Binary graph file format	core	hg main	enhancement	Alpar Juttner	new	2016-07-15T11:31:16Z	06:52:21Z	"The {{{.lgf}}} format is nice, but the files become extremely large for big graphs.

In some cases it would be nice to have a version of {{{GraphReader}}}/{{{GraphWriter}}} using a much more condensed binary format while providing close to the same API and feature set."	Alpar Juttner
Milestone: LEMON 1.5 release	221	Primal Network Simplex algorithm with given starting solution	core	hg main	enhancement	Peter Kovacs	assigned	2016-07-15T11:29:23Z	06:32:24Z	If a primal solution is available, then we don't need the extension of the underlying graphs, which may speed up the algorithm sometimes.	Alpar Juttner
Milestone: LEMON 1.5 release	218	Path decomposition subroutine in Preflow.	core	hg main	enhancement	Peter Kovacs	assigned	2016-07-15T11:29:07Z	06:22:08Z	"The title says everything.

See also #217."	Alpar Juttner
Milestone: LEMON 1.5 release	217	Subroutine in Preflow alg. to make the solution cycle-less	core	hg main	enhancement	Peter Kovacs	assigned	2016-07-15T11:28:55Z	06:21:47Z	"The title says everything.

See also #218."	Alpar Juttner
Milestone: LEMON 1.5 release	216	Member in Circulation to transform the solution to a basic one	core	hg main	enhancement	Peter Kovacs	assigned	2016-07-15T11:28:42Z	06:17:27Z	"Having a basic solution for the circulation problem is sometime quite useful, e.g. it can be used as a staring solution of the primal Network Simplex algorithm.

The interface should also provide the tree (or forest) of the basis.
"	Alpar Juttner
Milestone: LEMON 1.5 release	452	time_measure.h uses obsolete headears	core	hg main	defect	Alpar Juttner	new	2016-09-12T12:49:38Z	13:20:07Z	"[source:lemon/time_measure.h@e344f0887c59 time_measure.h] includes obsolete (pre C++) headers, such as `unistd.h`, `sys/times.h` and `sys/time.h` which in turn define a couple of things in the global namespace. Using the C++ counterparts of these headers (I hope they exist) would be a better option.
"	Alpar Juttner
Milestone: LEMON 1.5 release	224	Static graph maps	core	hg main	enhancement	Balazs Dezso	new	2016-07-15T11:29:50Z	20:02:38Z	"Sometimes it would be nice to have a map which is not registered in the alteration notifier of the graph.

One reason might be running time efficiency, but the more important is multi-thread applications (see #223). Currently, it is not safe to run say two Dijkstra algorithms on the same graph in parallel, as they would allocate maps and register them into the alteration notifier simultaneously, which is not safe. Changing these map allocations to static one would solve this problem.

My suggestion is to use the standard maps with a special constructor for this purpose, e.g.

{{{
ListGraph::NodeMap<int> map1(g,STATIC);
ListGraph::NodeMap<int> map1(g,15,STATIC);
}}}

or

{{{
ListGraph::NodeMap<int> map1(STATIC,g);
ListGraph::NodeMap<int> map1(STATIC,g,15);
}}}

See also #223.

''''"	Alpar Juttner
Milestone: none	296	Multicommodity flow algorithms	core	hg main	task	Peter Kovacs	assigned	2021-12-13T16:47:31Z	16:47:21Z	It would be important to implement various multicommodity flow algorithms in LEMON. Approximation (and maybe exact) solution methods for fractional, integral and unsplittable multicommodity flow problems.	Peter Kovacs
Milestone: none	200	Port sparse SubGraph adaptor from SVN	core	hg main	task	Balazs Dezso	new	2019-07-10T12:04:36Z	10:45:53Z	"The {{{SubGraph}}} class in the 0.x series stores the unhidden edges/nodes as a double linked list (just as {{{ListGraph}}} does), therefore it provides better performance than the {{{SubGraphAdaptor}}} when the subgraph is sparse.

{{{SubGraphAdaptor}}} has been renamed to {{{SubGraph}}} in the 1.x series, thus I suggest to call the linked list based implementation as {{{SparseSubGraph}}}."	Alpar Juttner
Milestone: none	412	Implement Dinitz algorithm for the max flow problem	core	hg main	task	Alpar Juttner	new	2012-01-11T09:42:32Z	16:30:53Z	"It would be nice to implement the ""original"" Dinitz algorithm for the max flow problem.

We have an implementation that uses dynamic trees, but it would be better to have a separate implementation without dynamic trees, as well."	Peter Kovacs
Milestone: none	63	Port metaheuristics	core		task	Akos Ladanyi	assigned	2010-07-03T15:57:27Z	13:04:23Z	"The following files are affected.
 - lemon/tabu_search.h
 - lemon/simann.h
 - test/simann_test.cc
"	Alpar Juttner
Milestone: none	178	Port dynamic tree based max flow algs.	core	hg main	task	Balazs Dezso	new	2009-11-05T10:21:07Z	10:34:10Z	"This ticket is a follow-up of #47.

Affected files are:
 - lemon/dynamic_tree.h
 - lemon/goldberg_tarjan.h
 - lemon/dinitz_sleator_tarjan.h "	Alpar Juttner
Milestone: none	73	Port the remaining miscellaneous tools	core		task	Alpar Juttner	assigned	2009-10-07T14:40:50Z	15:29:50Z	"The following files should be considered.

 - lemon/dist_log.h
 - lemon/refptr.h
 - ~~lemon/iterable_maps.h~~
 - lemon/bits/debug_map.h
 - lemon/matrix_maps.h
 - lemon/polynomial.h
 - lemon/concepts/matrix_maps.h
 - lemon/map_iterator.h"	Alpar Juttner
Milestone: none	64	Port constrained shortest path algorithm	core		task	Alpar Juttner	assigned	2008-12-15T16:05:21Z	13:06:02Z	"Namely, this file:
- lemon/csp.h
"	Alpar Juttner
Milestone: none	71	Port Steiner tree approximation algorithm	core		task	Balazs Dezso	assigned	2008-11-24T12:44:37Z	15:24:31Z	"Namely, the file
 - lemon/steiner.h
"	Alpar Juttner
Milestone: none	70	Port VirtualMaps	core		task	Alpar Juttner	assigned	2008-11-23T08:28:59Z	15:22:47Z	"This affects
 - lemon/vmap.h

but this tool is still in an early stage.
"	Alpar Juttner
Milestone: none	85	Use eps.h for drawing in graphToEps()	core	hg main	task	Alpar Juttner	new	2008-11-03T17:22:54Z	16:31:52Z	"We should consider using eps.h for the actual drawing in graphToEps().

See also ticket:43."	Alpar Juttner
Milestone: none	357	Guidelines for run/init/start	documentation	hg main	enhancement	Alpar Juttner	new	2016-09-12T12:42:15Z	22:36:53Z	"Please add a few guidelines to the documentation about what are the invariants, pre and post conditions guaranteed by all algorithm objects and about the intended usage pattern. This includes documenting whenever:

* The graph object and/or map objects must be fully constructed when the constructor of the algorithm object is run. (This is relevant if the graph and the algorithms objects are member of the same class, as may happen with algorithm objects that use a graph transformation based reduction.)

* At what point may the graph and the other algorithm parameters no longer be changed anymore without causing a crash or without invalidating the results. Calling start after changing the graph without rerunning init is allowed to crash. Changing the graph after start has completed should invalidate the results (or maybe not but in that case that behavior should be documented).

* Must the destructor of the algorithm object run before running the destructor of the graph object?"	Ben Strasser
Milestone: none	201	Delaunay triangulation	core	hg main	enhancement	Balazs Dezso	new	2014-10-12T15:22:03Z	11:13:23Z	"Delunay triangulation is actually implemented in {{{tools/lgf-gen.cc}}}, but it would be nice to have it as a separate tool in the core library.
"	Alpar Juttner
Milestone: none	415	Custom cost types in NetworkSimplex	core	hg main	enhancement	Alpar Juttner	new	2013-03-07T08:04:13Z	15:29:05Z	"Duraid Madina proposed an enhancement for `NetworkSimplex`:

{{{
	I have been using Lemon's network-simplex code for some time.
Recently I wanted to use it with a custom Cost type and int Value type.

	In order to make this simpler, I have patched network_simplex.h
so that the Cost class/type does not need/use operator*.

	At the moment, my patch requires that a custom Cost class must
still implement operator* for (Cost, int) pairs. However, this is only
for the initialization of ART_COST, and for totalCost(). It is also
possible to eliminate these uses of operator*, but I have not needed
to make these changes.

	The patch consists of three things:

  1) the addition of a unitMul() function for multiplying Costs by
""unit values"" -1, 0 and 1
  2) changing all occurences of Cost*unit value multipication to
calls to unitMul()
  3) a small change to totalCost() allowing exact total costs to
be computed (requires the custom Cost class to provide Cost*Value
multiplication, but not Cost*Cost multiplication.)

	There is one potential problem with the patch. On x86 machines
and ""int"" Cost type, there is a speed penalty of about 15%. This can be
eliminated through template specialization of the unitMul function for
""int"" Costs, but I have not done this for two reasons:

  1) It would be great if you could do it in your preferred ""LEMON
style""
  2) On some machines, such as ia64 (Itanium), the unitMul in the
attached patch actually leads to a speed _gain_ of about 10%. The
reason is that there does not seem to be any compiler which can
detect that the ""*"" can be replaced by predicated/conditional clears
and negations.

	So rather than constant tempate specialization, perhaps
the choice of unitMul() implementation could be left to the user,
with a simple ""*""-based implementation as default?

	Anyway, I hope this patch makes sense and you consider it
for inclusion in your code. I would like to conclude by saying a
big ""thank you!"" for the excellent LEMON library!!

	Yours sincerely,

	Duraid MADINA
	RIKEN
}}}"	Peter Kovacs
Milestone: none	413	Implement Young-Tarjan-Orlin algorithm for min mean cycle	core	hg main	enhancement	Alpar Juttner	new	2012-01-11T09:43:26Z	16:37:01Z	"It would be nice to implement the Young-Tarjan-Orlin algorithm for the minimum mean cycle problem.

According to several survey papers, it is one of the fastest solution methods for this problem (and its extension: the optimum cycle ratio problem). Another method that is highly efficient is Howard's algorithm, which is already implemented in LEMON."	Peter Kovacs
Milestone: none	376	A star (A*) algorithm	core	hg main	enhancement	Peter Kovacs	assigned	2011-12-09T16:17:01Z	17:28:11Z	"It would be nice to have an A-star (A*) algorithm implementation in LEMON. Additionally, a bidirectional version could also be implemented (see also: #249).

http://en.wikipedia.org/wiki/A*_search_algorithm"	Peter Kovacs
Milestone: none	249	Bidirectional Bfs and Dijkstra	core	hg main	enhancement	Peter Kovacs	assigned	2011-12-09T16:15:47Z	16:19:17Z	"It would be nice to have bidirectional Bfs and Dijkstra implementation in LEMON for the s-t shortest path problem.

Theoretically it is simple: the algorithm should be started ""in parallel"" from the source node s on the original graph and from the target node t on the reversed graph. As soon as we have a node u for which both direction have set the final ''dist'' and ''pred'' values, we can finish searching and construct the s->t path form the s->u path and the opposite of the t->u path. It could be faster by about a factor of two due to smaller search spaces.

However it is not clear for me how difficult it would be to implement it."	Peter Kovacs
Milestone: none	222	Network Simplex alg. for a simplified problem	core	hg main	enhancement	Alpar Juttner	new	2011-01-09T16:50:39Z	06:40:59Z	"A simpler (but in fact equivalent) form of the Network Flow Problems when we have no upper limit on the arcs. We can also assume that the lower limit is 0 everywhere.

In this case Network Simplex algorithms becomes much easier:
 - A basis is just a tree, and it's trivial to obtaine both the primal and the dual solutions from it.
 - A starting dual feasible solution is just a feasible potential w.r.t. the cost, so it can be computed by a shortest path algorithm.
"	Alpar Juttner
Milestone: none	105	"Consider using the ""ziggurat"" method in Random::gauss()."	core	hg main	enhancement	Alpar Juttner	new	2010-11-16T09:02:28Z	11:55:05Z	Currently, [source:lemon/random.h@716b220697a0#L825 Random::gauss()] uses a Box-Muller transformation based method. Ziggurat method is reported to be a better way of generating normally distributed random numbers, though one should check if it is indeed noticeably better in practice.	Alpar Juttner
Milestone: none	379	Find odd cycles	core	hg main	enhancement	Alpar Juttner	new	2010-07-02T21:58:23Z	21:58:23Z	We could extend the functions `bipartite()` and `bipartitePartitions()` so that they could return an odd cycle if the given graph is not bipartite.	Peter Kovacs
Milestone: none	378	Transitive closure	core	hg main	enhancement	Alpar Juttner	new	2010-07-02T21:09:37Z	21:09:37Z	"It would be nice to have a tool that generates the transitive closure of an input graph to another graph (similarly to `digraphCopy()`).

There are efficient solution methods based on the computation of the strongly connected components and their topological order.

For more details see:[[BR]]
http://www.cs.hut.fi/~enu/thesis.html"	Peter Kovacs
Milestone: none	367	Gurobi backend for the LP interface	core	hg main	enhancement	Alpar Juttner	new	2010-04-16T08:12:41Z	08:12:41Z	[http://www.gurobi.com/ Gurobi Optimizer] focuses on parallel optimization and it is of increasing popularity. AFAK, it is freely available for academic purposes, thus it would be nice if LEMON supported it.	Alpar Juttner
Milestone: none	361	Tolerance support in BellmanFord	core	hg main	enhancement	Peter Kovacs	assigned	2010-03-18T07:25:06Z	00:31:54Z	"!BellmanFord (and maybe Dijkstra as well) could construct and store an instance of the operation traits class and use the operation traits functionalities through this object. This makes it possible to have such op. traits objects that can hold an ''epsilon'' value or a tolerance instance. It would also be important to have set/get functions for this instance in the algorithm class(es).

This ticket is a follow-up of #51 and #360."	Peter Kovacs
Milestone: none	352	Tolerance in GomoryHu	core	hg main	enhancement	Balazs Dezso	new	2010-03-02T09:08:31Z	09:07:56Z	"For `GomoryHu` class, `Tolerance` type/object cannot be set, but it could be useful. The tolerance could be passed to the Preflow instances used by the algorithm. 

This ticket is a follow-up of #306."	Peter Kovacs
Milestone: none	343	Support arbitrary precision integers and rationals in LEMON	core	hg main	enhancement	Akos Ladanyi	assigned	2010-02-18T05:17:23Z	05:19:02Z	Of course we should rely on a third party library, but it would  still be nice if e.g. dimacs-solver could provide dead true results.	Alpar Juttner
Milestone: none	344	Cairo based version of graphToEps()	core	hg main	enhancement	Alpar Juttner	new	2010-02-17T06:05:45Z	06:05:45Z	"Currently graphToEps() directly generates its output .eps file. This is good because we do not depend on any third party library.

However using the cairo rendering backend would have a couple of advantages, most importantly it could directly create graphics in other formats like PDF, PNG (pixel graphics format) or SVG (editable vector graphics format). It would also allow easy integration to a GUI.

This enhancement could also be incorporated with #86."	Alpar Juttner
Milestone: none	86	Virtualmap based graphToEps().	core		enhancement	Alpar Juttner	assigned	2010-02-17T05:58:36Z	16:35:35Z	"A rewrite of graphToEps() using virtual-maps instead of named template parameters would result in a much faster compilation time, at a cost of a slower execution, which is not really an issue here.

See also ticket:43."	Alpar Juttner
Milestone: none	37	operator= for RangeMap and SparseMap	core	hg main	enhancement	Peter Kovacs	assigned	2009-11-04T18:45:17Z	17:50:14Z	Now {{{operator=}}} function is private (without implementation) in {{{RangeMap}}} and {{{SparseMap}}} classes. Do we need public {{{operator=}}}?	Peter Kovacs
Milestone: none	247	DegMap	core	hg main	enhancement	Peter Kovacs	new	2009-11-04T18:31:01Z	15:45:57Z	There are `InDegMap` and `OutDegMap` classes for directed graphs. So it would be nice to have a `DegMap` class for undirected graphs. I see that both `InDegMap` and `OutDegMap` can be used for this purpose, but it would be better to have `DegMap` even if it is just an alias for one of these maps.	Peter Kovacs
Milestone: none	269	Function type interface for Circulation	core	hg main	enhancement	Alpar Juttner	new	2009-11-04T18:30:25Z	14:49:56Z	"It would be nice to have a function type interface for Circulation. 
It should have almost the same named parameters as !NetworkSimplex (without costs), and it should be implemented without map copying to be as efficient as the class interface.

This ticket is a folow-up of #266."	Peter Kovacs
Milestone: none	284	LGF to EPS converter tool	tools	hg main	enhancement	Alpar Juttner	new	2009-11-04T18:29:44Z	08:33:32Z	"It would be nice to have a well configurable command line tool for converting LGF files into EPS.

Of course, it would be basically a command line wrapper around `graph_to_eps()`."	Alpar Juttner
Milestone: none	300	Faster building of heaps	core	hg main	enhancement	Alpar Juttner	new	2009-11-04T18:28:31Z	16:09:49Z	"For some heap structures it is possible to build them from an existing list of `n` items faster than calling `push()` `n` times.
E.g. for binary heap calling `push()` for each item takes `O(n log n)` time, while a heap can be built in `O(n)` time.

It would be nice to indroduce `build()` (or something like that) member functions into those heap structures, for which it could be done faster than calling `push()` `n` times. Or maybe such a function could be introduced to the heap concept itself and all the heap structures (it could be implemented by calling `push()`, if it is not slower).

The main reason why we have heaps is to use them in algorithms like Dijkstra and Prim. These algorithms do not need such a function, but if one would like to use LEMON heaps for other purposes, it may be useful.
"	Peter Kovacs
Milestone: none	189	Add the functionality of ItemSetTraits to the graphs	core	hg main	enhancement	Balazs Dezso	new	2009-11-04T18:28:10Z	21:25:17Z	"Maybe we could introduce the functionality of `ItemSetTraits` to the graph concepts and to the adaptors in order to have the followings for all graph types.

 - `Graph::Map<T, Value>`
 - `Graph::It<T>` or `Graph::ItemIt<T>`

Where `T` can be `Node`, `Arc` or `Edge`."	Peter Kovacs
Milestone: none	94	Easy erase in list graphs	core		enhancement	Alpar Juttner	new	2009-10-13T10:55:30Z	18:25:57Z	The arcs and nodes might be able to erase during an iteration very easy way in the list and smart graph implementations. If an iterator points to an arc or a node, and the item is deleted, then the increment should be valid operation until other change occurred on the graph. Of course, accessing such iterator should be avoided.	Balazs Dezso
Milestone: none	98	Read-Write LoggerBoolMap	core	hg main	enhancement	Peter Kovacs	assigned	2009-10-12T13:44:06Z	17:40:18Z	"!LoggerBoolMap map is only writable, so e.g. it can be used for !ProcessedMap, but it cannot be used for !ReachedMap in Bfs, Dfs, Dijkstra.

Now the simplest way for creating such a map is
{{{
#!cpp
typedef LoggerBoolMap<...> LoggerMap;
BoolEdgeMap map;
LoggerMap log;
ForkMap<BoolEdgeMap, LoggerMap> m(map, log);
}}}
"	Peter Kovacs
Milestone: none	313	Revise the implementation of  PairingHeap and RadixHeap	core	hg main	enhancement	Alpar Juttner	new	2009-09-01T19:58:47Z	19:43:45Z	"The implementation of `PairingHeap` and `RadixHeap` should be revised, since they could most likely be made more efficient.

For example, in LEDA (according to their tests) pairing heap is always faster than Fibonacci heap, moreover it is usually faster than binary heap. Radix heap is also very fast, it is usually better than both pairing and binary heaps. However according to my tests, `PairingHeap` and `RadixHeap` are almost always slower than `BinHeap` in LEMON.

LEDA results: http://www.cs.elte.hu/~kiraly/sanyag.adatstr/LEDAbook.heaps.ps

Two hints for `PairingHeap`:

 1. It does not contain the heuristic that the small heaps created by `push()` and `decrease()` operations are collected in a temporary storage and they are merged into the main heap only if it is necessary (e.g. in case of a `pop()` or `prio()`).
 2. The underlying binary tree is currently stored using two indices (pointers) and a bool value at each node. This needs less space than storing three indices (for the parent and the two children), but it is not clear if it is faster or slower. The latter representation should also be implemented and tested.

Apart from that, there could be other points in which the code could be made better."	Peter Kovacs
Milestone: none	310	Bounding box for Bezier-curves	core	hg main	enhancement	Balazs Dezso	new	2009-08-18T19:15:53Z	19:15:53Z	The patch [1121710e18c9] contains functions for bounding box computation of Bezier-curves. 	Balazs Dezso
Milestone: none	220	Implement a Dual Network Simplex algorithm	core	hg main	enhancement	Alpar Juttner	new	2009-03-23T22:27:17Z	06:29:16Z	The title says everything.	Alpar Juttner
Milestone: none	237	Line graph implementations	core	hg main	enhancement	Alpar Juttner	new	2009-03-03T12:29:46Z	12:29:46Z	They can either be adaptors or just simple tools for creating the line graph of a given graph similarly to the graph copying tools.	Alpar Juttner
Milestone: none	152	Using processed map in Dijkstra::processed()	core	hg main	enhancement	Peter Kovacs	new	2008-11-24T11:59:41Z	04:31:33Z	"This ticket is a follow-up of #149.

Now [source:lemon/dijkstra.h@0310c8984732#L906 Dijkstra::processed()] uses the heap to determine the return value whether or not the current {{{ProcessedMap}}} type is {{{NullMap}}} or not and whether it uses local map or not. It would be nice that the given processed map ({{{_processed}}}) is used if it is not of type {{{NullMap}}} and the heap is used otherwise.

I think it would need some template tricks to implement. Otherwise we could introduce a bool flag that shows whether {{{SetProcessedMap}}} or {{{SetStandardProcessedMap}}} named class parameters were used. But in the the later case extra codes in {{{DijkstraWizard}}} would also be needed, since it does not use the above named class parameters but defining a traits class explicitly.
"	Peter Kovacs
Milestone: none	6	VGraph and VMap	core	svn trunk	enhancement	Alpar Juttner	assigned	2008-11-23T08:28:10Z	12:29:31Z	"It would be nice to have maps and graph with virtual functions in their interface. They would be inherited from common base classes, and there would be factories to ""virtualize"" graphs and maps. All these would make it possible to avoid the use of templates when the speed is not an issue.

This ticket is a copy of report !#24 of the old bug tracking system. It refers to release 0.5.
"	Alpar Juttner
Milestone: none	76	New features for graphToEps()	core	hg main	enhancement	Alpar Juttner	assigned	2008-11-03T17:22:10Z	15:23:46Z	"Some additional features for {{{graphToEps()}}} would be nice to have.
For example:

 - The ability of setting linestyles, such az dotted, dashed etc.
 - The ability of the assignment of a second color to the edges along with a percentage value. Then the edges would be colored with to color  according to the percentage.
"	Alpar Juttner
Milestone: none	183	Improve doc of Elevator	core	hg main	enhancement	Peter Kovacs	assigned	2013-03-07T09:44:17Z	10:22:17Z	"The documentation should describe the differences between {{{Elevator}}} and {{{LinkedElevator}}} and give some hints about their performance on specific tasks.

This is a follow-up of #174."	Alpar Juttner
Milestone: none	358	Runtime complexity for every algorithm	documentation	hg main	enhancement	Alpar Juttner	new	2011-01-09T17:00:27Z	22:39:55Z	Some algorithms such as `MaxWeightedPerfectMatching` include the complexity of the runtime. Others such as `MaxMatching` do not. It might be nice to add this information to the documentation of every algorithm object.	Ben Strasser
Milestone: none	338	Infinite capacities in Preflow	core	hg main	enhancement	Alpar Juttner	new	2010-02-09T22:28:34Z	22:28:34Z	"Infinite (or very high) capacities typically cause problems in `Preflow`, since the algorithm usually saturate arcs.

This problem could be overcome by finding a finite cut and replace the huge capacities on the outgoing arcs of the source node with the value of the found cut if such a cut exists. Otherwise the max. flow value is infinite.

This solution could be implemented in the `Preflow` class itself or rather in a separate wrapper class (it should be used in the DIMACS solver utility, as well).

This ticket is a follow-up of #319."	Peter Kovacs
Milestone: none	123	dim2::Point default constructor	core	hg main	enhancement	Peter Kovacs	assigned	2009-11-04T18:46:29Z	08:09:53Z	"I think the default constructor of {{{dim2::Point}}} should set the point (0,0). It is a natural request for any class that provides {{{operator+}}} to be able to sum it correctly with a template function.

I also made benchmark tests. They showed that this variant is not slower than the current one."	Peter Kovacs
Milestone: none	151	Possible improvement in the function-type implementation of BFS/DFS/Dijkstra	core	hg main	enhancement	Balazs Dezso	new	2009-08-02T11:20:55Z	15:38:45Z	"This ticket is a follow-up of #96.

Maybe it would be better if we could avoid using {{{NodeMap}}}s (instead of {{{NullMap}}}s) as {{{PredMap}}} and {{{DistMap}}} structures in the cases when they are not necessary. So the default type of these maps would be a {{{NullMap}}} in {{{Bfs/Dfs/DijkstraWizardDefaultTraits}}} classes, and it would be changed only if it is really needed (i.e. {{{path()}}} and/or {{{dist()}}} named parameter is used).

Balazs suggested a solution for this, saying: ""iff at least one s-t path search is queried, real pred map should be defined, and iff at least one length of an s-t path queried, real dist map should be used. It could be done with the {{{ForkMap}}}s"".

It is a benchmark question however, that this implementation would be more efficient or not in practice."	Peter Kovacs
Milestone: none	235	Push-relabel max flow (Preflow) for undirected graphs	core	hg main	enhancement	Alpar Juttner	new	2009-02-25T12:45:02Z	12:45:02Z	"The current Preflow algorithm works well on undirected graphs, however a specialized version for undirected graphs could more efficient than the current solution. The flow map could be EdgeMap in this case and the edges do not need to be iterated twice (outgoing and incoming arcs). I think the overall improvement could be a small factor both in time and storage complexity.
"	Balazs Dezso
Milestone: none	78	Added functionality to graphToEps().	core	hg main	enhancement	Alpar Juttner	assigned	2008-11-21T15:00:35Z	15:36:35Z	It would be nice to enable multiline copyright notices in {{{GraphToEps::copyright()}}}	Alpar Juttner
Milestone: none	77	Added functionality to nodePsTexts() named param. of graphToEps().	core	hg main	enhancement	Alpar Juttner	assigned	2008-11-21T15:00:25Z	15:33:20Z	When a pure postscript block is inserted as each node with nodePsTexts(), it would be nice to offer the choice not to move to the center but pass the coordinates to the Postscript block inserted.	Alpar Juttner
Milestone: none	139	Support short and long style parameters in ArgParser	core	hg main	enhancement	Alpar Juttner	assigned	2008-11-03T17:17:01Z	16:19:35Z	"This is a follow-up of ticket:104.

I would propose a member function like {{{void style(StyleEnum st)}}}, where the parameter {{{st}}} would choose from the following options:
 - '''Short style''', where the form of the parameters are
   {{{
-param value
   }}}
 - '''Long style''', where the form of the parameters are
   {{{
-param=value
   }}}
 - '''Mixed style''', where options starting with one dash use the short form while those starting with two use the long style.

With this approach, one can implement POSIX compliant parameters."	Alpar Juttner
Milestone: none	8	GraphToEps() doesn't show loop egdes	core	hg main	enhancement	Alpar Juttner	assigned	2008-11-03T17:16:46Z	12:35:54Z	"Although it would be nice.

  This ticket is a copy of report !#27 of the old bug tracking system. It refers to svn trunk -!r2561."	Alpar Juttner
