Class MCPRanking

java.lang.Object
org.ddolib.examples.mcp.MCPRanking
All Implemented Interfaces:
Comparator<MCPState>, StateRanking<MCPState>

public class MCPRanking extends Object implements StateRanking<MCPState>
Class used to compare two states for the MCP problem.
When comparing two states, the best is the one that can generate the biggest benefit, independently of the decisions. That's why we sum the absolute value of each benefit to compare the states.