// File: /workspace/github_cpp_makefile_star2_O2/richardposner[P]BioNetFit2/src/code/Swarm.hh
// Function: void Swarm::serialize<boost::archive::binary_oarchive>(boost::archive::binary_oarchive&, unsigned int)
void serialize(Archive& ar, const unsigned version) {
		//std::cout << " serializing swarm" << std::endl;

		ar & options;

		ar & allGenFits;
		ar & bootstrapMaps;

		ar & isMaster;
		ar & currentGeneration;
		ar & resumingSavedSwarm;
		ar & hasMutate;

		ar & runningSubParticles_;
		ar & failedSubParticles_;
		ar & finishedSubParticles_;
		ar & finishedParticles_;
		ar & freeParamMapping; //razi this keeps the mapping from models free parameters to the full list of free parameters
		ar & runningParticles_;
		ar & failedParticles_;

		ar & exePath_;
		ar & configPath_;
		ar & sConf_;

		ar & populationTopology_;
		ar & particleBestFits_;
		ar & particleBestFitsByFit_;
		ar & swarmBestFits_;
		ar & particleParamVelocities_;
		ar & particleBestParamSets_;
		ar & particleCurrParamSets_;
		ar & particleWeights_;
		ar & particleIterationCounter_;
		ar & particleToIsland_;
		ar & islandToParticle_;

		ar & permanenceCounter_;
		ar & flightCounter_;
		ar & weightedAvgPos_;
		ar & optimum_;
		ar & inertiaUpdateCounter_;
		ar & beta_;
		ar & cauchyMutator_;
	}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x14c0(%rdi), %rsi
movq %rbx, %rdi
callq 0x908f8
leaq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x9091c
leaq 0x38(%r14), %rsi
movq %rbx, %rdi
callq 0x90940
leaq 0x50(%r14), %rsi
movq %rbx, %rdi
callq 0x90964
leaq 0x13e8(%r14), %rsi
movq %rbx, %rdi
callq 0x909a0
leaq 0x13f0(%r14), %rsi
movq %rbx, %rdi
callq 0x90964
leaq 0x13f1(%r14), %rsi
movq %rbx, %rdi
callq 0x90964
leaq 0x1820(%r14), %rsi
movq %rbx, %rdi
callq 0x909ce
leaq 0x1858(%r14), %rsi
movq %rbx, %rdi
callq 0x909ce
leaq 0x1890(%r14), %rsi
movq %rbx, %rdi
callq 0x909ce
leaq 0x18c0(%r14), %rsi
movq %rbx, %rdi
callq 0x909ce
leaq 0x1980(%r14), %rsi
movq %rbx, %rdi
callq 0x909f2
leaq 0x1998(%r14), %rsi
movq %rbx, %rdi
callq 0x909ce
leaq 0x19d0(%r14), %rsi
movq %rbx, %rdi
callq 0x909ce
leaq 0x17e0(%r14), %rsi
movq %rbx, %rdi
callq 0x8b6d8
leaq 0x1800(%r14), %rsi
movq %rbx, %rdi
callq 0x8b6d8
leaq 0x1938(%r14), %rsi
movq %rbx, %rdi
callq 0x90a16
leaq 0x1a08(%r14), %rsi
movq %rbx, %rdi
callq 0x90a3a
leaq 0x1a20(%r14), %rsi
movq %rbx, %rdi
callq 0x90a5e
leaq 0x1ab0(%r14), %rsi
movq %rbx, %rdi
callq 0x90a82
leaq 0x1bd0(%r14), %rsi
movq %rbx, %rdi
callq 0x90a82
leaq 0x1c90(%r14), %rsi
movq %rbx, %rdi
callq 0x90aa6
leaq 0x1cc0(%r14), %rsi
movq %rbx, %rdi
callq 0x90aa6
leaq 0x1400(%r14), %rsi
movq %rbx, %rdi
callq 0x90aa6
leaq 0x1cf0(%r14), %rsi
movq %rbx, %rdi
callq 0x90a5e
leaq 0x1950(%r14), %rsi
movq %rbx, %rdi
callq 0x90aca
leaq 0x1d20(%r14), %rsi
movq %rbx, %rdi
callq 0x90aee
leaq 0x1d38(%r14), %rsi
movq %rbx, %rdi
callq 0x90a3a
leaq 0x1d80(%r14), %rsi
movq %rbx, %rdi
callq 0x909a0
leaq 0x1d84(%r14), %rsi
movq %rbx, %rdi
callq 0x909a0
leaq 0x1d88(%r14), %rsi
movq %rbx, %rdi
callq 0x90b12
leaq 0x1d90(%r14), %rsi
movq %rbx, %rdi
callq 0x90b12
leaq 0x1d98(%r14), %rsi
movq %rbx, %rdi
callq 0x909a0
leaq 0x1da0(%r14), %rsi
movq %rbx, %rdi
callq 0x90b12
addq $0x1da8, %r14           # imm = 0x1DA8
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x90b12