├── .gitignore ├── LICENSE ├── README.md ├── c-evolutionary-library.iml ├── examples ├── nn │ ├── Main.cpp │ └── datafile └── tsp │ ├── AlgorithmTSP.cpp │ ├── AlgorithmTSP.h │ ├── AlgorithmTSPAIS.cpp │ ├── AlgorithmTSPAIS.h │ ├── AlgorithmTSPAIS2.cpp │ ├── AlgorithmTSPAIS2.h │ ├── AlgorithmTSPGA.cpp │ ├── AlgorithmTSPGA.h │ ├── AlgorithmTSPGA2.cpp │ ├── AlgorithmTSPGA2.h │ ├── Main.cpp │ ├── TSPCrossover.cpp │ ├── TSPCrossover.h │ ├── TSPCrossover2.cpp │ ├── TSPCrossover2.h │ ├── TSPFitness.cpp │ ├── TSPFitness.h │ ├── TSPIndividual.cpp │ ├── TSPIndividual.h │ ├── TSPIndividual2.cpp │ ├── TSPIndividual2.h │ ├── TSPMutation.cpp │ ├── TSPMutation.h │ ├── TSPMutation2.cpp │ ├── TSPMutation2.h │ ├── TSPSelection.cpp │ ├── TSPSelection.h │ ├── TSPStopCriterion.cpp │ └── TSPStopCriterion.h └── src ├── Algorithm.cpp ├── Algorithm.h ├── ArtificialInmuneSystem.cpp ├── ArtificialInmuneSystem.h ├── BP.cpp ├── BP.h ├── BPTT.cpp ├── BPTT.h ├── BiasNeuron.cpp ├── BiasNeuron.h ├── Connection.cpp ├── Connection.h ├── Crossover.cpp ├── Crossover.h ├── Data.cpp ├── Data.h ├── Distance.cpp ├── Distance.h ├── Dominance.cpp ├── Dominance.h ├── FitnessFunction.cpp ├── FitnessFunction.h ├── GeneticAlgorithm.cpp ├── GeneticAlgorithm.h ├── Individual.cpp ├── Individual.h ├── InputNeuron.cpp ├── InputNeuron.h ├── MultiObjectiveEvaluation.cpp ├── MultiObjectiveEvaluation.h ├── MultiObjectiveEvolutiveAlgorithm.cpp ├── MultiObjectiveEvolutiveAlgorithm.h ├── Mutation.cpp ├── Mutation.h ├── NeuralNet.cpp ├── NeuralNet.h ├── Neuron.cpp ├── Neuron.h ├── PropertiesMap.cpp ├── PropertiesMap.h ├── Selection.cpp ├── Selection.h ├── StopCriterion.cpp ├── StopCriterion.h ├── Util.cpp ├── Util.h ├── mtrand.cpp └── mtrand.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/README.md -------------------------------------------------------------------------------- /c-evolutionary-library.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/c-evolutionary-library.iml -------------------------------------------------------------------------------- /examples/nn/Main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/nn/Main.cpp -------------------------------------------------------------------------------- /examples/nn/datafile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/nn/datafile -------------------------------------------------------------------------------- /examples/tsp/AlgorithmTSP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/AlgorithmTSP.cpp -------------------------------------------------------------------------------- /examples/tsp/AlgorithmTSP.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/AlgorithmTSP.h -------------------------------------------------------------------------------- /examples/tsp/AlgorithmTSPAIS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/AlgorithmTSPAIS.cpp -------------------------------------------------------------------------------- /examples/tsp/AlgorithmTSPAIS.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/AlgorithmTSPAIS.h -------------------------------------------------------------------------------- /examples/tsp/AlgorithmTSPAIS2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/AlgorithmTSPAIS2.cpp -------------------------------------------------------------------------------- /examples/tsp/AlgorithmTSPAIS2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/AlgorithmTSPAIS2.h -------------------------------------------------------------------------------- /examples/tsp/AlgorithmTSPGA.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/AlgorithmTSPGA.cpp -------------------------------------------------------------------------------- /examples/tsp/AlgorithmTSPGA.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/AlgorithmTSPGA.h -------------------------------------------------------------------------------- /examples/tsp/AlgorithmTSPGA2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/AlgorithmTSPGA2.cpp -------------------------------------------------------------------------------- /examples/tsp/AlgorithmTSPGA2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/AlgorithmTSPGA2.h -------------------------------------------------------------------------------- /examples/tsp/Main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/Main.cpp -------------------------------------------------------------------------------- /examples/tsp/TSPCrossover.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPCrossover.cpp -------------------------------------------------------------------------------- /examples/tsp/TSPCrossover.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPCrossover.h -------------------------------------------------------------------------------- /examples/tsp/TSPCrossover2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPCrossover2.cpp -------------------------------------------------------------------------------- /examples/tsp/TSPCrossover2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPCrossover2.h -------------------------------------------------------------------------------- /examples/tsp/TSPFitness.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPFitness.cpp -------------------------------------------------------------------------------- /examples/tsp/TSPFitness.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPFitness.h -------------------------------------------------------------------------------- /examples/tsp/TSPIndividual.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPIndividual.cpp -------------------------------------------------------------------------------- /examples/tsp/TSPIndividual.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPIndividual.h -------------------------------------------------------------------------------- /examples/tsp/TSPIndividual2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPIndividual2.cpp -------------------------------------------------------------------------------- /examples/tsp/TSPIndividual2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPIndividual2.h -------------------------------------------------------------------------------- /examples/tsp/TSPMutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPMutation.cpp -------------------------------------------------------------------------------- /examples/tsp/TSPMutation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPMutation.h -------------------------------------------------------------------------------- /examples/tsp/TSPMutation2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPMutation2.cpp -------------------------------------------------------------------------------- /examples/tsp/TSPMutation2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPMutation2.h -------------------------------------------------------------------------------- /examples/tsp/TSPSelection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPSelection.cpp -------------------------------------------------------------------------------- /examples/tsp/TSPSelection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPSelection.h -------------------------------------------------------------------------------- /examples/tsp/TSPStopCriterion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPStopCriterion.cpp -------------------------------------------------------------------------------- /examples/tsp/TSPStopCriterion.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/examples/tsp/TSPStopCriterion.h -------------------------------------------------------------------------------- /src/Algorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Algorithm.cpp -------------------------------------------------------------------------------- /src/Algorithm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Algorithm.h -------------------------------------------------------------------------------- /src/ArtificialInmuneSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/ArtificialInmuneSystem.cpp -------------------------------------------------------------------------------- /src/ArtificialInmuneSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/ArtificialInmuneSystem.h -------------------------------------------------------------------------------- /src/BP.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/BP.cpp -------------------------------------------------------------------------------- /src/BP.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/BP.h -------------------------------------------------------------------------------- /src/BPTT.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/BPTT.cpp -------------------------------------------------------------------------------- /src/BPTT.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/BPTT.h -------------------------------------------------------------------------------- /src/BiasNeuron.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/BiasNeuron.cpp -------------------------------------------------------------------------------- /src/BiasNeuron.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/BiasNeuron.h -------------------------------------------------------------------------------- /src/Connection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Connection.cpp -------------------------------------------------------------------------------- /src/Connection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Connection.h -------------------------------------------------------------------------------- /src/Crossover.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Crossover.cpp -------------------------------------------------------------------------------- /src/Crossover.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Crossover.h -------------------------------------------------------------------------------- /src/Data.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Data.cpp -------------------------------------------------------------------------------- /src/Data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Data.h -------------------------------------------------------------------------------- /src/Distance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Distance.cpp -------------------------------------------------------------------------------- /src/Distance.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Distance.h -------------------------------------------------------------------------------- /src/Dominance.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Dominance.cpp -------------------------------------------------------------------------------- /src/Dominance.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Dominance.h -------------------------------------------------------------------------------- /src/FitnessFunction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/FitnessFunction.cpp -------------------------------------------------------------------------------- /src/FitnessFunction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/FitnessFunction.h -------------------------------------------------------------------------------- /src/GeneticAlgorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/GeneticAlgorithm.cpp -------------------------------------------------------------------------------- /src/GeneticAlgorithm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/GeneticAlgorithm.h -------------------------------------------------------------------------------- /src/Individual.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Individual.cpp -------------------------------------------------------------------------------- /src/Individual.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Individual.h -------------------------------------------------------------------------------- /src/InputNeuron.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/InputNeuron.cpp -------------------------------------------------------------------------------- /src/InputNeuron.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/InputNeuron.h -------------------------------------------------------------------------------- /src/MultiObjectiveEvaluation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/MultiObjectiveEvaluation.cpp -------------------------------------------------------------------------------- /src/MultiObjectiveEvaluation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/MultiObjectiveEvaluation.h -------------------------------------------------------------------------------- /src/MultiObjectiveEvolutiveAlgorithm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/MultiObjectiveEvolutiveAlgorithm.cpp -------------------------------------------------------------------------------- /src/MultiObjectiveEvolutiveAlgorithm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/MultiObjectiveEvolutiveAlgorithm.h -------------------------------------------------------------------------------- /src/Mutation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Mutation.cpp -------------------------------------------------------------------------------- /src/Mutation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Mutation.h -------------------------------------------------------------------------------- /src/NeuralNet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/NeuralNet.cpp -------------------------------------------------------------------------------- /src/NeuralNet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/NeuralNet.h -------------------------------------------------------------------------------- /src/Neuron.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Neuron.cpp -------------------------------------------------------------------------------- /src/Neuron.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Neuron.h -------------------------------------------------------------------------------- /src/PropertiesMap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/PropertiesMap.cpp -------------------------------------------------------------------------------- /src/PropertiesMap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/PropertiesMap.h -------------------------------------------------------------------------------- /src/Selection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Selection.cpp -------------------------------------------------------------------------------- /src/Selection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Selection.h -------------------------------------------------------------------------------- /src/StopCriterion.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/StopCriterion.cpp -------------------------------------------------------------------------------- /src/StopCriterion.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/StopCriterion.h -------------------------------------------------------------------------------- /src/Util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Util.cpp -------------------------------------------------------------------------------- /src/Util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/Util.h -------------------------------------------------------------------------------- /src/mtrand.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/mtrand.cpp -------------------------------------------------------------------------------- /src/mtrand.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jorgemf/c-evolutionary-library/HEAD/src/mtrand.h --------------------------------------------------------------------------------