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

Method GetProbFail

avida-core/source/cpu/cInstSet.h:118–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 int GetFTCost(const Instruction& inst) const { return m_lib_name_map[inst.GetOp()].ft_cost; }
117 int GetEnergyCost(const Instruction& inst) const { return m_lib_name_map[inst.GetOp()].energy_cost; }
118 double GetProbFail(const Instruction& inst) const { return m_lib_name_map[inst.GetOp()].prob_fail; }
119 int GetAddlTimeCost(const Instruction& inst) const { return m_lib_name_map[inst.GetOp()].addl_time_cost; }
120 int GetInstructionCode(const Instruction& inst) const { return m_lib_name_map[inst.GetOp()].inst_code; }
121 double GetResCost(const Instruction& inst) const { return m_lib_name_map[inst.GetOp()].res_cost; }

Callers 6

SingleProcessMethod · 0.80
SingleProcessMethod · 0.80
SingleProcessMethod · 0.80
SingleProcessMethod · 0.80
SingleProcessMethod · 0.80

Calls 1

GetOpMethod · 0.80

Tested by

no test coverage detected