#include <iostream>#include <fstream>#include <algorithm>#include <numeric>#include <sstream>#include <string>#include "SimpleSelect.h"#include "BinaryTournamentSelect.h"#include "UniformRNG.h"#include "gentypes.h"#include "BinaryPopulation.h"#include "StandardPropagation.h"#include "GrayTranscribe.h"#include "AnnealingGA.h"#include "ParetoGA.h"#include "Aniso1DMTObjective.h"#include "PTensor1DMTObjective.h"#include "MTStation.h"#include "C1dInvGaConf.h"#include "Adaptors.h"#include "MTFitSetup.h"#include "PTensorMTStation.h"#include <boost/bind.hpp>#include <boost/shared_ptr.hpp>#include <boost/filesystem.hpp>#include <boost/date_time/posix_time/posix_time.hpp>#include <complex>#include "Util.h"#include "MTAnisoRoughness.h"#include "MTAnisoGAConf.h"Go to the source code of this file.
Typedefs | |
| typedef boost::shared_ptr < GeneralObjective > | pCGeneralObjective |
Enumerations | |
| enum | tgatype { pareto, anneal, pareto, anneal, pareto, anneal, pareto, anneal } |
Functions | |
| void | SetupAnnealingGA (boost::shared_ptr< GeneralGA > &GA, const MTAnisoGAConf Configuration) |
| int | main (int argc, char *argv[]) |
| Program to invert MT data for 1D anisotropic structure with a genetic algorithm. | |
| typedef boost::shared_ptr<GeneralObjective> pCGeneralObjective |
Definition at line 32 of file mtanisoga.cpp.
| enum tgatype |
Definition at line 31 of file mtanisoga.cpp.
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Program to invert MT data for 1D anisotropic structure with a genetic algorithm.
Definition at line 57 of file mtanisoga.cpp.
References MTAnisoGAConf::anisobase, MTAnisoGAConf::anisosizes, MTAnisoGAConf::anisostep, MTAnisoGAConf::anisotropyweight, anneal, MTAnisoGAConf::conddiffweight, Configuration, MTAnisoGAConf::crossoverprob, MTAnisoGAConf::elitist, f(), MTAnisoGAConf::gatype, MTAnisoGAConf::generations, GeneralPopulation::GetCrowdingDistances(), MTStation::GetData(), PTensorMTStation::GetData(), MTAnisoGAConf::GetData(), GeneralPopulation::GetProbabilities(), GrayTranscribe::GetValues(), h(), UniquePop::Insert(), MTData, MTAnisoGAConf::mtfit, MTAnisoGAConf::mtfitexponent, MTAnisoGAConf::mtinputdata, MTObjective, MTAnisoGAConf::mutationprob, nobjective, MTAnisoGAConf::outputbase, pareto, MTAnisoGAConf::phaseerror, MTAnisoGAConf::popsize, popsize, UniquePop::PrintAll(), MTAnisoGAConf::ptensordata, MTAnisoGAConf::resbase, MTAnisoGAConf::ressizes, MTAnisoGAConf::resstep, GeneralPropagation::SetParams(), SetupAnnealingGA(), SetupMTFitParameters(), MTAnisoGAConf::strikebase, MTAnisoGAConf::strikediffweight, MTAnisoGAConf::strikesizes, MTAnisoGAConf::strikestep, MTAnisoGAConf::thickbase, MTAnisoGAConf::thicksizes, MTAnisoGAConf::thickstep, MTAnisoGAConf::threads, MTAnisoGAConf::verbose, version, and MTAnisoGAConf::weights.
| void SetupAnnealingGA | ( | boost::shared_ptr< GeneralGA > & | GA, | |
| const MTAnisoGAConf | Configuration | |||
| ) |
Definition at line 40 of file mtanisoga.cpp.
References MTAnisoGAConf::annealinggeneration, MTAnisoGAConf::coolingratio, MTAnisoGAConf::inittemp, and AnnealingGA::SetParams().
1.5.5