misc
This commit is contained in:
@@ -268,6 +268,7 @@ int64 SolutionChecker::GetObjectiveCost() const {
|
||||
return total_cost;
|
||||
}
|
||||
|
||||
|
||||
bool SolutionChecker::HasProcessMoved(const Process& process) const {
|
||||
const ProcessIndex process_id = process.id();
|
||||
const MachineIndex initial_machine_id = initial_assignments_.at(process_id);
|
||||
|
||||
@@ -275,6 +275,7 @@ class SolutionChecker {
|
||||
// document. Note this method assumes all hard constraints are satisfied.
|
||||
int64 GetObjectiveCost() const;
|
||||
|
||||
|
||||
private:
|
||||
// Returns true if process doesn't run on the same machine in the
|
||||
// initial assignment and in the new assignment.
|
||||
|
||||
@@ -75,5 +75,6 @@ int main(int argc, char **argv) {
|
||||
LG << "Solution is invalid." << endl;
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user