You are here

Ranking

Assigning rank order to the instances of a population submode

ModelId: 
ranking1
SimileVersion: 
3.1

 There are a number of situations where you might want to rank the members (instances) of a population submodel in order, according to some criterion.

Category: 
Technique
Equations: 

 Equations in submodel 'individual'

attribute = rand_const(0,100)
rank = count({one_role2})+1
where: {one_role1} = ../ranking/one (to individual in role1)
creation: initial number = 10

Equations in submodel 'ranking'
condition = (attribute_role1>attribute_role2)
where:
attribute_role1 = ../individual/attribute (from individual in role1)
attribute_role2 = ../individual/attribute (from individual in role2)]
one = 1

 

Subscribe to RSS - Ranking