CXXGraph icon indicating copy to clipboard operation
CXXGraph copied to clipboard

Example Implementation

Open ZigRazor opened this issue 4 years ago • 14 comments

Provide a full Examples implementation.

ZigRazor avatar Jun 24 '21 12:06 ZigRazor

This'd be really helpful.

r-barnes avatar Sep 18 '21 18:09 r-barnes

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.

ZigRazor avatar Sep 19 '21 07:09 ZigRazor

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

r-barnes avatar Oct 01 '21 04:10 r-barnes

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 avatar Oct 01 '21 06:10 ZigRazor

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

ZigRazor avatar Oct 01 '21 06:10 ZigRazor

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

ZigRazor avatar Oct 12 '21 08:10 ZigRazor

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

ZigRazor avatar Oct 21 '21 07:10 ZigRazor

@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.

joechai93 avatar Jan 19 '22 11:01 joechai93

@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 [email protected] Thank you so much!

ZigRazor avatar Jan 19 '22 12:01 ZigRazor

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

joechai93 avatar Jan 19 '22 12:01 joechai93

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 avatar Jan 19 '22 12:01 ZigRazor

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

ZigRazor avatar Jan 19 '22 14:01 ZigRazor

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

ErikDervishi03 avatar Dec 14 '23 10:12 ErikDervishi03

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.

ZigRazor avatar Dec 14 '23 10:12 ZigRazor