edu.umd.hooka
Class PServerClient

java.lang.Object
  extended by edu.umd.hooka.ttables.TTable
      extended by edu.umd.hooka.PServerClient
All Implemented Interfaces:
Cloneable

public class PServerClient
extends TTable


Constructor Summary
PServerClient(String host, int port)
           
 
Method Summary
 void add(int e, int f, float delta)
           
 void clear()
           
 Object clone()
           
 float get(int e, int f)
           
 void normalize()
           
 void query(PhrasePair pp, boolean nullWord)
           
 void set(int e, IndexedFloatArray fs)
           
 void set(int e, int f, float value)
           
 void write()
           
 
Methods inherited from class edu.umd.hooka.ttables.TTable
prepare
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PServerClient

public PServerClient(String host,
                     int port)
              throws IOException
Throws:
IOException
Method Detail

query

public void query(PhrasePair pp,
                  boolean nullWord)
           throws IOException
Throws:
IOException

add

public void add(int e,
                int f,
                float delta)
Specified by:
add in class TTable

clear

public void clear()
Specified by:
clear in class TTable

clone

public Object clone()
Specified by:
clone in class TTable

get

public float get(int e,
                 int f)
Specified by:
get in class TTable

normalize

public void normalize()
Specified by:
normalize in class TTable

set

public void set(int e,
                int f,
                float value)
Specified by:
set in class TTable

set

public void set(int e,
                IndexedFloatArray fs)
Specified by:
set in class TTable

write

public void write()
           throws IOException
Specified by:
write in class TTable
Throws:
IOException