edu.illinois.cs.cogcomp.lbj.coref.ir.solutions
Class ChunkSolution

java.lang.Object
  extended by edu.illinois.cs.cogcomp.lbj.coref.ir.solutions.SetSolution<Chunk>
      extended by edu.illinois.cs.cogcomp.lbj.coref.ir.solutions.ChunkSolution
All Implemented Interfaces:
Solution, java.io.Serializable

public class ChunkSolution
extends SetSolution<Chunk>
implements java.io.Serializable

A ChunkSolution represents a set of chunks.

Author:
Eric Bengtson
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
ChunkSolution()
          Constructs an empty chunk solution.
ChunkSolution(java.util.Collection<Chunk> chunks)
          Constructs a ChainSolution containing some chunks.
 
Method Summary
 java.util.Set<Chunk> getChunks()
          Gets the chunks of the chainSolution.
 
Methods inherited from class edu.illinois.cs.cogcomp.lbj.coref.ir.solutions.SetSolution
getItems, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ChunkSolution

public ChunkSolution()
Constructs an empty chunk solution.


ChunkSolution

public ChunkSolution(java.util.Collection<Chunk> chunks)
Constructs a ChainSolution containing some chunks.

Parameters:
chunks - Some chunks.
Method Detail

getChunks

public java.util.Set<Chunk> getChunks()
Gets the chunks of the chainSolution.

Returns:
An unmodifiable view of the chunks.