public class ConferenceTalkPlacement extends Object
It solves a simple conference example problem, where different sessions must be scheduled according to the specified constraints.
Constructor and Description |
---|
ConferenceTalkPlacement() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
It executes the program to solve this Travelling Salesman Problem.
|
void |
model(int noOfParallelTracks,
int noOfTalks,
int noOfTimeSlots,
int maxSingleCost,
Map<Integer,Map<Integer,Integer>> costMap) |
boolean |
search(int maxCostAllowed,
int timeOutSeconds) |
boolean |
searchMaxRegretForMatrixOptimal(int timeOutSeconds)
It uses MaxRegret variable ordering heuristic to search for a solution.
|
public void model(int noOfParallelTracks, int noOfTalks, int noOfTimeSlots, int maxSingleCost, Map<Integer,Map<Integer,Integer>> costMap)
public boolean searchMaxRegretForMatrixOptimal(int timeOutSeconds)
timeOutSeconds
- time-out in secondspublic boolean search(int maxCostAllowed, int timeOutSeconds)
public static void main(String[] args)
args
- no argument is used.Copyright © 2022. All rights reserved.