-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I've spotted an inconsistency in the URQ function within the codebase. The comments accurately describe the URQ, but the actual implementation seems to be off. It appears there's a discrepancy between the intended URQ and its current implementation in the code. Can we address this issue?
It appears there's a misplacement of parentheses in the following code snippet:
Stratega/src/stratega/src/Agent/Heuristic/AbstractHeuristic.cpp
Lines 36 to 39 in 60fc827
| // (u * x) / ((u*(x-minValue[parameterName])-x+maxValue[parameterName]) | |
| const double x = entity.getRawParameterAt(parameter.second.getIndex()); | |
| const double u = attributeUValues[parameterName]; | |
| double den = (u * (x - minValue[parameterName]) - (x + maxValue[parameterName])); |
Metadata
Metadata
Assignees
Labels
No labels