Lines Matching refs:getWeight
44 template <class T> float getWeight (const GeneratorState& state) { return T::getWeight(state); } in getWeight() function
49 float (*getWeight) (const GeneratorState& state); member
57 { getWeight<BlockStatement>, create<BlockStatement> }, in chooseStatement()
58 { getWeight<ExpressionStatement>, create<ExpressionStatement> }, in chooseStatement()
59 { getWeight<DeclarationStatement>, create<DeclarationStatement> }, in chooseStatement()
60 { getWeight<ConditionalStatement>, create<ConditionalStatement> } in chooseStatement()
69 weights[ndx] = statementSpecs[ndx].getWeight(state); in chooseStatement()
128 float ExpressionStatement::getWeight (const GeneratorState& state) in getWeight() function in rsg::ExpressionStatement
190 float BlockStatement::getWeight (const GeneratorState& state) in getWeight() function in rsg::BlockStatement
322 float DeclarationStatement::getWeight (const GeneratorState& state) in getWeight() function in rsg::DeclarationStatement
527 float ConditionalStatement::getWeight (const GeneratorState& state) in getWeight() function in rsg::ConditionalStatement