- edited description
Colored cells in imposed policies of type 'Table'
When the user decides to impose a policy and selects 'table' as 'relation type' and then changes a value in the table, the maximum value of the column is colored as red. The cell is colored by the class 'ValuesTableOptimalPolicyCellRenderer' of the package 'org.openmarkov.core.gui.component'. This class is used as the decision node has its Policy Type attribute set as 'Optimal'. Should the decision policy type be marked as 'Probabilistic'?
Nowadays, the PolicyType enum is coded in the package 'org.openmarkov.core.model.network' as follows:
package org.openmarkov.core.model.network;
public enum PolicyType {
OPTIMAL("Optimal"),
DETERMINISTIC("Deterministic"),
PROBABILISTIC("Probabilistic");
String name;
int type;
PolicyType(String name) {
this.type = this.ordinal();
this.name = name;
}
public String toString() {
return name;
}
public int getType() {
return type;
}
}
Comments (3)
-
reporter -
reporter -
assigned issue to
-
assigned issue to
-
reporter - changed status to resolved
The color of the cells when the user is imposing a policy and selects 'table' as relation type now is green. Also, when the user asks OpenMarkov to 'Show the expected utility' the maximum value of each column is colored in green.
- Log in to comment