org.cyberlab.local.recognition
Class LocalModel<E>

java.lang.Object
  extended by org.cyberlab.local.recognition.LocalObject<E>
      extended by org.cyberlab.local.recognition.LocalModel<E>
Type Parameters:
E - The class type of the specific LocalModel object.
Direct Known Subclasses:
LICOVModel

public abstract class LocalModel<E>
extends LocalObject<E>

Abstract class for all LocalModel objects. Class is Generic allowing for common framework handling of different LocalModel objects.

Author:
Mats-Gøran Karlsen

Field Summary
 
Fields inherited from class org.cyberlab.local.recognition.LocalObject
type
 
Constructor Summary
LocalModel(long type)
           
 
Method Summary
abstract  byte[] toBytes()
          Converts the object into an byte array.
abstract  boolean write(java.io.File theFile)
          Writes the model to the specified file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalModel

public LocalModel(long type)
Method Detail

write

public abstract boolean write(java.io.File theFile)
Writes the model to the specified file.

Parameters:
theFile - The file.
Returns:
true if writing to file was successful.

toBytes

public abstract byte[] toBytes()
Converts the object into an byte array.

Returns: