MovingPeak::MovingPeak(ParamMap &v):Problem((v[param_proId]),(v[param_numDim]),string(),1),\ DynamicContinuous((v[param_proId]), (v[param_numDim]),(v[param_numPeak]),1){ setDimensionChange((v[param_flagNumDimChange])); setNumPeakChangeMode((v[param_peakNumChangeMode])); setNumPeaksChange((v[param_flagNumPeakChange])); setNoiseFlag((v[param_flagNoise])); setTimeLinkageFlag((v[param_flagTimeLinkage])); setChangeFre((v[param_changeFre])); setChangeType(CT_Random); m_vlength=(v[param_shiftLength]); if((v[param_flagNoise])==true) setNoiseSeverity_((v[param_noiseSeverity])); if((v[param_flagTimeLinkage])==true) setTimeLinkageSeverity((v[param_timelinkageSeverity])); if(!readData()) exit(0); m_peaksFound=0; allocateMemory(m_numDim,m_numPeaks); m_name="DYN_CONT_MovingPeak"; initialize(); setNumberofChanges((double)v[param_changeRatio]); m_globalOpt.setFlagLocTrue(); m_proPar<<"Vlength:"<<m_vlength<<"; "; }
void ossimProperty::setCacheRefreshBit() { setChangeType(ossimPropertyChangeType_CACHE_REFRESH); }
void ossimProperty::setFullRefreshBit() { setChangeType(ossimPropertyChangeType_FULL_REFRESH); }