Skip to content

jcarlosfelix/lcga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Life Cycle Genetic Algorithm (LCGA)

Java Implementation of a nature inspired algorithm, to evolve a population of individuals continuously over time (on the cloud).

Developed using any text editor, compile and run using Command Prompt (Windows) or Terminal (Mac).

Download, install and test the latest Java Development Kit (JDK) on your computer.

  1. Download the latest JDK Development Kit version from Oracle downloads
  2. Install JDK in your computer, open the Command Prompt or Terminal and test the installation with "java -version"
  3. If an error ocurrs on Windows, you may need to add the Java home directory on the System Environment Variables. Recommended lectures on how to solve this issue: How to set Java path in windows and linux and How to set Java home environment variable on windows 10

Recommended steps to build and run the project on Command Prompt (Windows):

  1. Clone this repository, and copy-paste to your designated folder. For the following examples we placed it inside the C: drive
  2. Open the Command Prompt, and move to the folder with the instruction cd C:\Documents\GitHub\lcga\algorithm
  3. Compile the source code with the instruction javac -d classes src/lifecycle_ga/*.java
  4. Test the configuration with the instruction java -cp classes lifecycle_ga.Test_Configuration
  5. Test the compilation with the instruction java -cp classes lifecycle_ga.Test_BenchFunction
  6. Test the full algorithm with the instruction java -cp classes lifecycle_ga.Test_RunAlgorithm
  7. To modify the configuration values, please edit the text file LCGA_Configuration.txt in the folder lcga\algorithm\cfg

Recommended steps to build and run the project on Terminal (Mac):

  1. Clone this repository, and copy-paste to your designated folder. For the following examples we placed it inside the drive
  2. Open the Terminal, and move to the folder with the instruction cd lcga
  3. Compile the source code with the instruction javac -d classes src/lifecycle_ga/*.java
  4. Test the configuration with the instruction java -cp classes lifecycle_ga.Test_Configuration
  5. Test the compilation with the instruction java -cp classes lifecycle_ga.Test_BenchFunction
  6. Test the full algorithm with the instruction java -cp classes lifecycle_ga.Test_RunAlgorithm
  7. To modify the configuration values, please edit the text file LCGA_Configuration.txt in the folder lcga\algorithm\cfg

Description.

This branch was created to submit all changes needed to perform the CEC-2017, the Java implementation of the IEEE Congress on Evolutionary Computation (CEC) 2017 benchmark functions, found on "liammcdevitt73/CEC2017".

About

Life Cycle Genetic Algorithm (LCGA)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published