ECF 1.5
Public Member Functions | Public Attributes | List of all members
QuantumEvalOp Class Reference
Inheritance diagram for QuantumEvalOp:
EvaluateOp

Public Member Functions

void registerParameters (StateP)
 Register evaluator parameters. Called before EvaluateOp::initialize method. More...
 
FitnessP evaluate (IndividualP individual)
 Evaluate a single individual. Method must create and return a Fitness object. More...
 
bool initialize (StateP)
 Initialize the evaluator. Called before first evaluation occurs. More...
 
virtual FitnessP evaluate (IndividualP)=0
 Evaluate a single individual. Method must create and return a Fitness object. More...
 
virtual void registerParameters (StateP)
 Register evaluator parameters. Called before EvaluateOp::initialize method. More...
 
virtual bool initialize (StateP)
 Initialize the evaluator. Called before first evaluation occurs. More...
 

Public Attributes

StateP state_
 
uint nWires
 
uint nWiresA
 
uint nWiresB
 
uint nGatesA
 
uint nGatesB
 

Detailed Description

Definition at line 7 of file QuantumEvalOp.h.

Member Function Documentation

◆ evaluate()

FitnessP QuantumEvalOp::evaluate ( IndividualP  )
virtual

Evaluate a single individual. Method must create and return a Fitness object.

Implements EvaluateOp.

Definition at line 483 of file QuantumEvalOp.cpp.

◆ initialize()

bool QuantumEvalOp::initialize ( StateP  )
virtual

Initialize the evaluator. Called before first evaluation occurs.

Reimplemented from EvaluateOp.

Definition at line 436 of file QuantumEvalOp.cpp.

◆ registerParameters()

void QuantumEvalOp::registerParameters ( StateP  )
virtual

Register evaluator parameters. Called before EvaluateOp::initialize method.

Reimplemented from EvaluateOp.

Definition at line 427 of file QuantumEvalOp.cpp.

Member Data Documentation

◆ nGatesA

uint QuantumEvalOp::nGatesA

Definition at line 18 of file QuantumEvalOp.h.

◆ nGatesB

uint QuantumEvalOp::nGatesB

Definition at line 18 of file QuantumEvalOp.h.

◆ nWires

uint QuantumEvalOp::nWires

Definition at line 16 of file QuantumEvalOp.h.

◆ nWiresA

uint QuantumEvalOp::nWiresA

Definition at line 17 of file QuantumEvalOp.h.

◆ nWiresB

uint QuantumEvalOp::nWiresB

Definition at line 17 of file QuantumEvalOp.h.

◆ state_

StateP QuantumEvalOp::state_

Definition at line 14 of file QuantumEvalOp.h.


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