ZigRazor / CXXGraph

Header-Only C++ Library for Graph Representation and Algorithms
https://zigrazor.github.io/CXXGraph/
Mozilla Public License 2.0
463 stars 113 forks source link

Example Implementation #3

Open ZigRazor opened 3 years ago

ZigRazor commented 3 years ago

Provide a full Examples implementation.

r-barnes commented 3 years ago

This'd be really helpful.

ZigRazor commented 3 years ago

I know, in any case the test can be already helpful to understand how to use the library. The examples will be implemented soon, and a help writing them would be welcome.

r-barnes commented 3 years ago

I'd be happy to put together an example or two if you can point in the direction of where they should be added.

ZigRazor commented 3 years ago

Nice! You can create a folder named "Example", in this folder create a new subfolder for each example. Each example and so each folder must contain the "CMakeLists.txt" to be compiled with cmake. Thank you in advance, If you have other dubts you can ask me without problem.

ZigRazor commented 3 years ago

I assign this issue to you. Thank you so much!

ZigRazor commented 3 years ago

Hi @r-barnes , have you some news regarding this issue?

ZigRazor commented 3 years ago

Hi @r-barnes if you don't give me a feedback, I have to unassign this issue from you!

joechai93 commented 2 years ago

@ZigRazor I can have a go at this if you like? I'm using this library for a project anyway so it'd be convenient for me to add a couple of examples.

ZigRazor commented 2 years ago

@joechai93 yes, obviously! you can add examples, and open a pull-request. If I’m not being indiscreet, may I know what you’re using it for? For me it is interesting to know to concentrate in order to improve some parts of the library. Anyway if you need support, you can write me here or at zigrazor@gmail.com Thank you so much!

joechai93 commented 2 years ago

Cheers, using it for path planning algorithm :+1:

ZigRazor commented 2 years ago

Good, thank you for the information. Now the focus for me is the partitioning algorithms, but in the future other algorithm will be implemented! Thank you for you suppport.

ZigRazor commented 2 years ago

@joechai93 does not forget to cite us. If you have some dubt can read the CITATION file

ErikDervishi03 commented 10 months ago

I'm attempting to run examples, but after executing the CMake command, similar to what I did for the tests and benchmarks, there are no executables in the 'build/examples/' folder, and I don't understand the reason. I have examined the CMake files in the examples folder, and they appear to be correct @ZigRazor

ZigRazor commented 10 months ago

The example are compiled only if enabled: see line:

option(EXAMPLES "Enable Examples Compilation" OFF)

For enable examples compilation you need to add -DEXAMPLES=ON to you cmake line.