MCPcopy Create free account
hub / github.com/devosoft/avida / unpack

Method unpack

avida-core/source/main/cMultiProcessWorld.cc:72–75  ·  view source on GitHub ↗

Finish unpacking an organism from this message.

Source from the content-addressed store, hash-verified

70
71 //! Finish unpacking an organism from this message.
72 void unpack(cOrganism* org) {
73 org->UpdateMerit(cAvidaContext& ctx, _merit);
74 org->GetPhenotype().SetGeneration(_generation);
75 }
76
77 //! Serializer, used to (de)marshal organisms for migration.
78 template<class Archive>

Callers 1

ProcessPostUpdateMethod · 0.80

Calls 2

SetGenerationMethod · 0.80
UpdateMeritMethod · 0.45

Tested by

no test coverage detected