Home
last modified time | relevance | path

Searched refs:GetSpatialResource (Results 1 – 5 of 5) sorted by relevance

/dports/biology/avida/avida-2.12.4-src/avida-core/source/main/
H A DcResourceCount.h149 cSpatialResCount GetSpatialResource(int id) { return *(spatial_resource_count[id]); } in GetSpatialResource() function
150 const cSpatialResCount& GetSpatialResource(int id) const { return *(spatial_resource_count[id]); } in GetSpatialResource() function
H A DcDeme.h268 double GetSpatialResource(int rel_cellid, int resource_id, cAvidaContext& ctx) const;
H A DcDeme.cc1177 double cDeme::GetSpatialResource(int rel_cellid, int resource_id, cAvidaContext& ctx) const in GetSpatialResource() function in cDeme
H A DcPopulation.cc4502 const cSpatialResCount& sp_res = res.GetSpatialResource(i); in PrintDemeSpatialResData()
/dports/biology/avida/avida-2.12.4-src/avida-core/source/actions/
H A DPopulationActions.cc1694 …deme.AdjustSpatialResource(ctx, c, resid, -1 * deme.GetSpatialResource(c, resid, ctx) * adjusted_a… in Process()
4583 …level = m_world->GetPopulation().GetResourceCount().GetSpatialResource(res_id).GetAmount(target_ce… in Process()
4667 double level = pop.GetResourceCount().GetSpatialResource(res_id).GetAmount(target_cell); in Process()
4804 …resourcesum.Add(pop.GetResourceCount().GetSpatialResource(res_id).GetAmount(current_cell)); … in Process()
4928 … double kill_prob = pop.GetResourceCount().GetSpatialResource(adv_res_id).GetAmount(target_cell); in Process()
4953 …resourcesum.Add(pop.GetResourceCount().GetSpatialResource(res_id).GetAmount(current_cell)); … in Process()
5087 double level = pop.GetResourceCount().GetSpatialResource(res_id).GetAmount(current_cell); in Process()