Skip to content

Commit

Permalink
Removed command line outputs without logger.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwever committed Feb 22, 2019
1 parent 01eebae commit 0ee9f49
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ public void receiveSearchEvent(final AlgorithmEvent event) {
@Subscribe
public void receiveSolutionCandidateFoundEvent(final EvaluatedSearchSolutionCandidateFoundEvent<N, A, V> solutionEvent) throws InterruptedException, TimeoutException, AlgorithmException {

System.err.println(Thread.currentThread().getName() + ": Received solution event in search listener " + solutionEvent);
EvaluatedSearchGraphPath<N, A, V> searchPath = solutionEvent.getSolutionCandidate();
Plan plan = HASCO.this.planningGraphGeneratorDeriver.getPlan(searchPath.getNodes());
ComponentInstance objectInstance = Util.getSolutionCompositionForPlan(HASCO.this.getInput().getComponents(), HASCO.this.planningProblem.getCorePlanningProblem().getInit(), plan, true);
Expand All @@ -194,7 +193,6 @@ public void receiveSolutionCandidateFoundEvent(final EvaluatedSearchSolutionCand
HASCO.this.listOfAllRecognizedSolutions.add(solution);
HASCOSolutionEvent<V> hascoSolutionEvent = new HASCOSolutionEvent<>(HASCO.this.getId(), solution);
HASCO.this.hascoSolutionEventCache.put(solutionEvent, hascoSolutionEvent);
System.err.println(Thread.currentThread().getName() + ": Post solution event in search listener " + solutionEvent);
HASCO.this.post(hascoSolutionEvent);
}

Expand Down Expand Up @@ -226,7 +224,6 @@ public void receiveSolutionCandidateFoundEvent(final EvaluatedSearchSolutionCand

/* otherwise, if a solution has been found, we announce this finding to our listeners and memorize if it is a new best candidate */
else if (searchEvent instanceof EvaluatedSearchSolutionCandidateFoundEvent) {
System.err.println(Thread.currentThread().getName() + ": Solution event in HASCO.nextWithException " + searchEvent);
HASCOSolutionEvent<V> hascoSolutionEvent = this.hascoSolutionEventCache.remove(searchEvent);
assert (hascoSolutionEvent != null) : "Hasco solution event has not been seen yet or cannot be retrieved from cache. " + this.hascoSolutionEventCache;
if (hascoSolutionEvent == null) {
Expand Down

0 comments on commit 0ee9f49

Please sign in to comment.