org.galagosearch.core.store
Class SnippetGenerator.Snippet

java.lang.Object
  extended by org.galagosearch.core.store.SnippetGenerator.Snippet
Enclosing class:
SnippetGenerator

public class SnippetGenerator.Snippet
extends java.lang.Object


Constructor Summary
SnippetGenerator.Snippet(java.util.ArrayList<SnippetGenerator.SnippetRegion> regions)
           
 
Method Summary
 void cacheScore()
           
 boolean equals(java.lang.Object o)
           
 java.util.ArrayList<SnippetGenerator.Snippet> expand()
          This is part of an aborted attempt to score many candidate snippets to produce the best one.
 int hashCode()
           
 double score()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnippetGenerator.Snippet

public SnippetGenerator.Snippet(java.util.ArrayList<SnippetGenerator.SnippetRegion> regions)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

score

public double score()

cacheScore

public void cacheScore()

expand

public java.util.ArrayList<SnippetGenerator.Snippet> expand()

This is part of an aborted attempt to score many candidate snippets to produce the best one. It returns many different candidates which can then be scored using the score method. As coded, this method is too slow to be useful.

Returns:


Copyright © 2009. All Rights Reserved.