Lines Matching defs:variable
915 return 0.0f; // Would require creating a new variable
938 // - variable valuerange is made unbound
986 Variable* variable = state.getVariableManager().allocate(valueRange.getType());
989 state.getVariableManager().setValue(variable, valueRange);
1013 state.getVariableManager().setStorage(variable, state.getRandom().chooseWeighted<Variable::Storage>(&storages[0], &storages[DE_LENGTH_OF_ARRAY(storages)], &weights[0]));
1015 return variable;
1117 // Allocate a new variable
1132 // Find variable that has value range that intersects with given range
1168 VariableRead::VariableRead (const Variable* variable)
1170 m_variable = variable;
1195 // Find variable with range that is superset of given range
1199 const float createOnAssignWeight = 0.1f; // Will essentially create an unused variable