OPAL (Object Oriented Parallel Accelerator Library)  2024.1
OPAL
Functions | Variables
Hypervolume Namespace Reference

Functions

double hv (FRONT)
 
int greater (const void *v1, const void *v2)
 
int dominates2way (POINT p, POINT q)
 
void makeDominatedBit (FRONT ps, int p)
 
double hv2 (FRONT ps)
 
double hv3_AVL (FRONT ps)
 
double inclhv (POINT p)
 
double exclhv (FRONT ps, int p)
 
double FromFile (std::string file, const std::vector< double > &referencePoint)
 

Variables

int n
 
POINT ref
 
FRONTfs
 
int fr = 0
 
int frmax = -1
 
int maxm = 0
 
int maxn = 0
 

Function Documentation

int Hypervolume::dominates2way ( POINT  p,
POINT  q 
)

Definition at line 95 of file hypervolume.cpp.

References BEATS, fr, n, and POINT::objectives.

Referenced by makeDominatedBit().

double Hypervolume::exclhv ( FRONT  ps,
int  p 
)

Definition at line 292 of file hypervolume.cpp.

References fr, fs, hv(), inclhv(), makeDominatedBit(), FRONT::nPoints, and FRONT::points.

Referenced by hv().

Here is the call graph for this function:

double Hypervolume::FromFile ( std::string  file,
const std::vector< double > &  referencePoint 
)
int Hypervolume::greater ( const void v1,
const void v2 
)

Definition at line 78 of file hypervolume.cpp.

References BEATS, fr, n, and POINT::objectives.

Referenced by FromFile(), and hv().

double Hypervolume::hv ( FRONT  ps)

Definition at line 306 of file hypervolume.cpp.

References exclhv(), fabs(), greater(), hv2(), hv3_AVL(), n, FRONT::nPoints, POINT::objectives, FRONT::points, and ref.

Referenced by exclhv(), and FromFile().

Here is the call graph for this function:

double Hypervolume::hv2 ( FRONT  ps)

Definition at line 161 of file hypervolume.cpp.

References fabs(), FRONT::nPoints, POINT::objectives, FRONT::points, and ref.

Referenced by FromFile(), and hv().

Here is the call graph for this function:

double Hypervolume::hv3_AVL ( FRONT  ps)
double Hypervolume::inclhv ( POINT  p)

Definition at line 282 of file hypervolume.cpp.

References fabs(), n, POINT::objectives, and ref.

Referenced by exclhv().

Here is the call graph for this function:

void Hypervolume::makeDominatedBit ( FRONT  ps,
int  p 
)

Definition at line 117 of file hypervolume.cpp.

References dominates2way(), fr, frmax, fs, maxm, maxn, n, FRONT::nPoints, POINT::objectives, FRONT::points, and WORSE.

Referenced by exclhv().

Here is the call graph for this function:

Variable Documentation

int Hypervolume::fr = 0

Definition at line 60 of file hypervolume.cpp.

Referenced by dominates2way(), exclhv(), greater(), and makeDominatedBit().

int Hypervolume::frmax = -1

Definition at line 61 of file hypervolume.cpp.

Referenced by makeDominatedBit().

FRONT* Hypervolume::fs
int Hypervolume::maxm = 0

Definition at line 62 of file hypervolume.cpp.

Referenced by FromFile(), and makeDominatedBit().

int Hypervolume::maxn = 0
int Hypervolume::n

Definition at line 56 of file hypervolume.cpp.

Referenced by all_values_equal(), VariableRFCavityFringeField::apply(), ParticleLayout< T, Dim >::apply_bconds(), LOMB_class::avevar(), BrickIterator< T, Dim >::BrickIterator(), ToTheDim< Dim >::calc(), ToTheDim< 1 >::calc(), PartBins::calcExtrema(), PartBunchBase< T, Dim >::calcGammas(), PartBunchBase< T, Dim >::calcGammas_cycl(), PartBins::calcHBins(), ParallelCyclotronTracker::calcMeanR(), coordinatetransform::CoordinateTransform::calcSCoordinate(), VerticalFFAMagnet::calculateDfCoefficients(), ScalingFFAMagnet::calculateDfCoefficients(), _Fieldmap::checkMap(), _FM1DElectroStatic_fast::computeFieldDerivatives(), _FM1DMagnetoStatic_fast::computeFieldDerivatives(), _FM1DDynamic_fast::computeFieldDerivatives(), _FM1DElectroStatic::computeFieldOnAxis(), _FM1DDynamic::computeFieldOnAxis(), _FM1DMagnetoStatic::computeFieldOnAxis(), AmrMultiGrid::convertToEnumNorm_m(), convlv(), DataConnectCreator::create(), DiscField< Dim >::distribute_offsets(), dominates2way(), BeamStrippingPhysics::evalLorentzStripping(), MGPoissonSolver::extrapolateLHS(), AmrBoxLib::fillPhysbc_m(), IpplInfo::find_smp_nodes(), BoundaryGeometry::findInsidePoint(), HashPairBuilder< PBase >::for_each(), HashPairBuilderPeriodic< PBase >::for_each(), HashPairBuilderPeriodicParallel< PBase >::for_each(), for_each(), HashPairBuilderParallel< PBase >::forEach(), FromFile(), PyOpal::PyEndFieldModel::function(), endfieldmodel::AsymmetricEnge::function(), FieldDataSource< T, Dim, M, C >::gather_data(), MultipoleTStraight::getBs(), MultipoleTBase::getBs(), MultipoleT::getBs(), MultipoleTStraight::getBx(), MultipoleTBase::getBx(), MultipoleT::getBx(), MultipoleTBase::getBz(), MultipoleT::getBz(), MultipoleRep::getChannel(), SBendRep::getChannel(), Communicate::getContexts(), _Astra1DDynamic::getFieldDerivative(), _FM1DDynamic::getFieldDerivative(), _FM1DElectroStatic::getFieldDerivative(), _FM1DMagnetoStatic::getFieldDerivative(), _Astra1DDynamic::getFieldstrength(), _Astra1DElectroStatic::getFieldstrength(), _Astra1DMagnetoStatic::getFieldstrength(), VerticalFFAMagnet::getFieldValue(), ScalingFFAMagnet::getFieldValueCylindrical(), MultipoleTStraight::getFn(), MultipoleTBase::getFringeDeriv(), MultipoleT::getFringeDeriv(), endfieldmodel::Enge::getHIndex(), LSIndex< Dim >::getIndex(), CommCreator::getLibraryName(), PartBunchBase< T, Dim >::getLocalNumPerBunch(), BrickIterator< T, Dim >::getMessage(), DataConnectCreator::getMethodName(), endfieldmodel::Tanh::getNegTanh(), DiscConfig::getNodeHost(), DiscConfig::getNodeSMPIndex(), Multipole::getNormalComponent(), ParticleInteractLayout< T, Dim, Mesh >::getPairlist(), PartBins::getPart(), Communicate::getProcesses(), endfieldmodel::Enge::getQIndex(), Multipole::getSkewComponent(), DiscConfig::getSMPNode(), Physics::Material::getStoppingPowerFitCoefficients(), endfieldmodel::Tanh::getTanh(), endfieldmodel::Tanh::getTanhDiffIndices(), PartBunchBase< T, Dim >::getTotalNumPerBunch(), MultipoleTBase::getTransDeriv(), MultipoleT::getTransDeriv(), MultipoleTBase::getTransProfile(), MultipoleT::getTransProfile(), ParticleInteractAttrib< T >::ghostAttrib(), endfieldmodel::Enge::gN(), greater(), hv(), inclhv(), VariableRFCavityFringeField::initialiseCoefficients(), BoundaryGeometry::initialize(), vmap< Key, T, Compare >::insert(), BoundaryGeometry::intersectLineSegmentBoundary(), BoundaryGeometry::intersectLineTriangle(), IpplInfo::IpplInfo(), PartBins::isEmitted(), LField< T, Dim >::LField(), lubksb(), ludcmp(), makeDominatedBit(), BoxLibLayout< T, Dim >::MaxRefRatio(), LOMB_class::moment(), ParallelCyclotronTracker::MtsTracker(), opalMain(), matheval::detail::eval_ast< real_t >::operator()(), matheval::detail::ConstantFolder< real_t >::operator()(), TpsMonomial::operator*(), FSlice< T, S >::operator+(), SliceIterator< T >::operator+(), FConstSlice< T, S >::operator+(), ConstSliceIterator< T >::operator+(), ParticleAttribIterator< T >::operator+(), ParticleAttribConstIterator< T >::operator+(), Matrix< T >::operator+=(), Taylor< T >::operator+=(), ParticleAttribIterator< T >::operator+=(), ParticleAttribConstIterator< T >::operator+=(), FSlice< T, S >::operator-(), SliceIterator< T >::operator-(), FConstSlice< T, S >::operator-(), ConstSliceIterator< T >::operator-(), ParticleAttribIterator< T >::operator-(), ParticleAttribConstIterator< T >::operator-(), Matrix< T >::operator-=(), Taylor< T >::operator-=(), ParticleAttribIterator< T >::operator-=(), ParticleAttribConstIterator< T >::operator-=(), polynomial::operator<(), operator<<(), interpolation::operator>>(), FieldLoc< Dim >::operator[](), Field< T, Dim, Mesh, Centering >::operator[](), ParticleAttrib< ParticleOrigin >::operator[](), vmap< Key, T, Compare >::operator[](), LOMB_class::period(), DiscConfig::printDebug(), PtrOffset(), BrickIterator< T, Dim >::putMessage(), DiscParticle::read_meta(), DiscField< Dim >::read_meta(), H5PartWrapperForPC::readStepData(), H5PartWrapperForPT::readStepData(), LField< T, Dim >::ReallyUncompress(), reduce_masked(), Reduction(), BMultipoleField::reserve(), PartBunchBase< T, Dim >::resetPartBinID2(), Array1D< T >::resize(), PartBunch::resizeMesh(), DataConnectCreator::setDefaultNodes(), PartBunchBase< T, Dim >::setGlobalTrackStep(), IpplParticleBase< T >::setLocalNum(), PartBunchBase< T, Dim >::setLocalNumPerBunch(), PartBunchBase< T, Dim >::setLocalTrackStep(), Multipole::setNormalComponent(), Distribution::setNumberOfDistributions(), MultiBunchHandler::setNumBunch(), PartBunchBase< T, Dim >::setNumBunch(), Inform::setPrintNode(), Multipole::setSkewComponent(), PartBunchBase< T, Dim >::setStepsPerTurn(), PartBunchBase< T, Dim >::setSteptoLastInj(), IpplParticleBase< T >::setTotalNum(), PartBunchBase< T, Dim >::setTotalNumPerBunch(), MultipoleTBase::setTransProfile(), MultipoleT::setTransProfile(), sint1(), FMGPoissonSolver::solve(), PartBins::sortArray(), TransportMap< T, N >::substitute(), FVps< T, N >::substitute(), FTps< T, N >::substitute(), BoxParticleCachingPolicy< T, Dim, Mesh >::updateGhostParticles(), Werrf(), DiscParticle::write_data(), AmrYtWriter::writeFields(), and Message::~Message().

POINT Hypervolume::ref