Evolutionary Algorithm for Adaptive Phase Estimation  1.0.2
Public Member Functions | List of all members
Phase Class Reference

Phase class for the problem of adaptive interferometric phase estimation including noise and loss. More...

#include <phase_loss_opt.h>

Inheritance diagram for Phase:
Problem

Public Member Functions

 Phase (const int numvar, Rng *gaussian_rng, Rng *uniform_rng)
 
void fitness (double *soln, double *fitarray)
 
void avg_fitness (double *soln, const int K, double *fitarray)
 
bool T_condition (double *fitarray, int *numvar, int N_cut, bool *mem_ptype, double *memory_forT)
 
bool error_condition (double *current_fitarray, double *memory_fitarray, int data_size, double goal)
 
void boundary (double *can1)
 

Additional Inherited Members

- Public Attributes inherited from Problem
double * lower_bound
 
double * upper_bound
 
int num
 
int num_repeat
 
int num_fit
 

Detailed Description

Phase class for the problem of adaptive interferometric phase estimation including noise and loss.

This class can be replaced by any optimization problem of interest written by the user. The problem is initialized in the main function through the Problem class pointer.

Constructor & Destructor Documentation

◆ Phase()

Phase::Phase ( const int  numvar,
Rng *  gaussian_rng,
Rng *  uniform_rng 
)

The instantiation function of the class initialize necessary variables that the optimization algorithm uses. Memories used by the problem is also allocated in this stage.


The documentation for this class was generated from the following files: