GERARDIUM RUSH - MINERAL CIRCUIT OPTIMIZER v1.0.0
"A powerful tool designed to optimize circuit configurations using advanced genetic algorithms." - by Pentlandite
Loading...
Searching...
No Matches
Functions
main.cpp File Reference

Main entry point for the circuit optimization program using genetic algorithms. More...

#include <iostream>
#include <chrono>
#include "circuit/CCircuit.h"
#include "CSimulator.h"
#include "Genetic_Algorithm.h"
#include "utils/Helper.h"
Include dependency graph for main.cpp:

Functions

int main (int argc, char *argv[])
 

Detailed Description

Main entry point for the circuit optimization program using genetic algorithms.

Test file for evaluating the functionalities of the Genetic Algorithm module.

Test file for evaluating execution times of the Evaluate_Circuit function with different circuit vector sizes.

Test file for evaluating circuit configurations using the Evaluate_Circuit function.

This program uses a genetic algorithm to optimize a circuit configuration. It sets up the initial circuit parameters and the genetic algorithm parameters, runs the optimization process, and then evaluates the optimized circuit. The results, including performance, recovery, and grade, are printed to the console.

The main steps include:

Date
Created on May 20, 2024
Authors
ACS Gerardium Rush - Pentlandite:
  • Alex N Njeumi
  • Geyu Ji
  • Melissa Y S Sim
  • Mingsheng Cai
  • Peifeng Tan
  • Yongwen Chen
  • Zihan Li

This file contains a series of test cases to evaluate different circuit configurations using the Evaluate_Circuit function. Each test case checks the performance, recovery, and grade of a given circuit vector against expected values. The results are printed to the console, and the test passes or fails based on the accuracy of the output.

Date
Created on May 20, 2024
Authors
ACS Gerardium Rush - Pentlandite:
  • Alex N Njeumi
  • Geyu Ji
  • Melissa Y S Sim
  • Mingsheng Cai
  • Peifeng Tan
  • Yongwen Chen
  • Zihan Li

This file generates circuit vectors of various sizes, evaluates them using the Evaluate_Circuit function, and records the execution times. The results are printed to the console and also saved to an output file.

Date
Created on May 20, 2024
Authors
ACS Gerardium Rush - Pentlandite:
  • Alex N Njeumi
  • Geyu Ji
  • Melissa Y S Sim
  • Mingsheng Cai
  • Peifeng Tan
  • Yongwen Chen
  • Zihan Li

This file contains various test cases to evaluate the correctness and performance of the Genetic Algorithm implementation, including tests for the initializer, crossover, mutation, selection, and simulated annealing.

Date
Created on May 20, 2024
Authors
ACS Gerardium Rush - Pentlandite:
  • Alex N Njeumi
  • Geyu Ji
  • Melissa Y S Sim
  • Mingsheng Cai
  • Peifeng Tan
  • Yongwen Chen
  • Zihan Li

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )
Here is the call graph for this function: