Giter VIP home page Giter VIP logo

mcb's People

Contributors

d-michail avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

liuyx11

mcb's Issues

cycle 2 vertex mapping

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

Getting an error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.