inathlia/curlyCue-switchback
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
1. Build the project by simply running "make". 2. Run the executable by typing: ./switchbackGen [opt1] [opt2] [opt3] all arguments are optional. Running the command will generate an obj file named result.obj and a json file named result.json in the proper directory*. [opt1] is a floating number that represents the helix frequency nu. opt1 should be within [0, 1]. The higher the frequency, more stretched-out the helix will be. the The frequency defaults to 0.4; [opt2] is either 0 or 1. 0 represents single switchback and 1 is the s-shaped double switchback. This option defaults to single switchback. [opt3] is an integer number that chooses the optimization algorithm that will be used to generate the switchback. opt3 should be within [0, 1]. The default is 0, that represents Nelder-Mead (NM), and value 1 is Differential-Evolution (DE). * you can find the files on objects/ directory. it's organized by optimization algorithm > switchback type > helix frequency. for DE, you'll also have to locate the hyperparameters used.