dk.deepthought.sidious.explanation
Class Explanation

java.lang.Object
  extended by dk.deepthought.sidious.explanation.Explanation

@Immutable
public class Explanation
extends java.lang.Object

Value object for abstracting explanations from the pathfinding algorithm.

Author:
Deepthought

Field Summary
private  java.util.Collection<ExplanationEntry> entries
          The entries of this.
 
Constructor Summary
Explanation(java.util.Collection<ExplanationEntry> entries)
          Constructor.
 
Method Summary
 java.util.Collection<ExplanationEntry> getEntries()
          Gets a defensive copy of the entries of this.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

entries

private final java.util.Collection<ExplanationEntry> entries
The entries of this.

Constructor Detail

Explanation

public Explanation(java.util.Collection<ExplanationEntry> entries)
Constructor.

Parameters:
entries - the entries
Method Detail

getEntries

public java.util.Collection<ExplanationEntry> getEntries()
Gets a defensive copy of the entries of this.

Returns:
the entries

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © Deepthought Development - All Rights Reserved.