- while (currentChoice < cycleEndChoice) {
- for (int reachableEvent = currentChoice + 1; reachableEvent <= cycleEndChoice; reachableEvent++) {
- if (isConflictFound(currentChoice, reachableEvent, currentExecution)) {
- createBacktrackingPoint(currentChoice, reachableEvent, currentExecution);
+ while (reachableChoice < cycleEndChoice) {
+ for (int conflictChoice = reachableChoice + 1; conflictChoice <= cycleEndChoice; conflictChoice++) {
+ if (isConflictFound(reachableChoice, conflictChoice, currentExecution)) {
+ createBacktrackingPoint(reachableChoice, conflictChoice, currentExecution);