d-michail / mcb Goto Github PK
View Code? Open in Web Editor NEWMinimum Cycle Basis Library
License: Other
Minimum Cycle Basis Library
License: Other
Hi
Is there a way to get the cycle 2 vertex mapping.
I can get cycles in terms of edge_numb but this is numbered with relation to the spanning tree. I was wondering if there is a simple way to print cycle_1: vertex_i, vertex_j, .. vertex_i ?
Thanks again for your time!!!!
raghav
In file included from mcb_approx.C:41:0:
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h: In instantiation of ‘class mcb::weighted_umcb_approx<int, mcb::spvecgf2>’:
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:586:15: required from ‘class mcb::unweighted_umcb_approx<mcb::spvecgf2>’
mcb_approx.C:61:52: required from here
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:134:19: error: ‘int mcb::mcb_approx<int, mcb::spvecgf2>::length’ is protected
W length;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:319:15: error: within this context
class weighted_umcb_approx : public umcb_approx<W,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:133:38: error: ‘const mcb::edge_num& mcb::mcb_approx<int, mcb::spvecgf2>::enumb’ is protected
const mcb::edge_num& enumb;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:319:15: error: within this context
class weighted_umcb_approx : public umcb_approx<W,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:132:37: error: ‘leda::array<mcb::spvecgf2>& mcb::mcb_approx<int, mcb::spvecgf2>::mcb’ is protected
array< Container >& mcb;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:319:15: error: within this context
class weighted_umcb_approx : public umcb_approx<W,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:138:23: error: ‘leda::graph mcb::mcb_approx<int, mcb::spvecgf2>::spanner’ is protected
graph spanner;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:319:15: error: within this context
class weighted_umcb_approx : public umcb_approx<W,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:139:31: error: ‘leda::edge_array<int> mcb::mcb_approx<int, mcb::spvecgf2>::spanner_len’ is protected
edge_array<W> spanner_len;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:319:15: error: within this context
class weighted_umcb_approx : public umcb_approx<W,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:143:32: error: ‘leda::edge_map<leda::edge_struct*> mcb::mcb_approx<int, mcb::spvecgf2>::edge_spanner_to_g’ is protected
edge_map<edge> edge_spanner_to_g;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:319:15: error: within this context
class weighted_umcb_approx : public umcb_approx<W,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h: In instantiation of ‘class mcb::unweighted_umcb_approx<mcb::spvecgf2>’:
mcb_approx.C:61:52: required from here
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:130:30: error: ‘const leda::graph& mcb::mcb_approx<int, mcb::spvecgf2>::g’ is protected
const graph& g;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:586:15: error: within this context
class unweighted_umcb_approx : public weighted_umcb_approx<int,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:133:38: error: ‘const mcb::edge_num& mcb::mcb_approx<int, mcb::spvecgf2>::enumb’ is protected
const mcb::edge_num& enumb;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:586:15: error: within this context
class unweighted_umcb_approx : public weighted_umcb_approx<int,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:132:37: error: ‘leda::array<mcb::spvecgf2>& mcb::mcb_approx<int, mcb::spvecgf2>::mcb’ is protected
array< Container >& mcb;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:586:15: error: within this context
class unweighted_umcb_approx : public weighted_umcb_approx<int,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:131:21: error: ‘int mcb::mcb_approx<int, mcb::spvecgf2>::k’ is protected
int k;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:586:15: error: within this context
class unweighted_umcb_approx : public weighted_umcb_approx<int,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:134:19: error: ‘int mcb::mcb_approx<int, mcb::spvecgf2>::length’ is protected
W length;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:586:15: error: within this context
class unweighted_umcb_approx : public weighted_umcb_approx<int,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:138:23: error: ‘leda::graph mcb::mcb_approx<int, mcb::spvecgf2>::spanner’ is protected
graph spanner;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:586:15: error: within this context
class unweighted_umcb_approx : public weighted_umcb_approx<int,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:142:32: error: ‘leda::edge_map<leda::edge_struct*> mcb::mcb_approx<int, mcb::spvecgf2>::edge_g_to_spanner’ is protected
edge_map<edge> edge_g_to_spanner;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:586:15: error: within this context
class unweighted_umcb_approx : public weighted_umcb_approx<int,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:143:32: error: ‘leda::edge_map<leda::edge_struct*> mcb::mcb_approx<int, mcb::spvecgf2>::edge_spanner_to_g’ is protected
edge_map<edge> edge_spanner_to_g;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:586:15: error: within this context
class unweighted_umcb_approx : public weighted_umcb_approx<int,Container>
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:140:32: error: ‘leda::node_map<leda::node_struct*> mcb::mcb_approx<int, mcb::spvecgf2>::node_g_to_spanner’ is protected
node_map<node> node_g_to_spanner;
^
/u/raghavsi/GPFS/Packages/mcb-0.8/incl/LEP/mcb/mcb_approx.h:586:15: error: within this context
class unweighted_umcb_approx : public weighted_umcb_approx<int,Container>
with gcc 3.4, 4.8 etc.
I know its been a while but appreciate any help I can get...
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.