edu.memphis.ccrg.lida.episodicmemory.sdm
Interface Translator

All Known Implementing Classes:
BasicTranslator

public interface Translator

A translator between BitVector used in SparseDistributedMemory, and NodeStructure used in many other LIDA modules.

Author:
Javier Snaider

Method Summary
 NodeStructure translate(cern.colt.bitvector.BitVector v)
          Translates a BitVector into a NodeStructure.
 cern.colt.bitvector.BitVector translate(NodeStructure ns)
          Translates a NodeStructure into a BitVector.
 

Method Detail

translate

NodeStructure translate(cern.colt.bitvector.BitVector v)
Translates a BitVector into a NodeStructure.

Parameters:
v - a BitVector containing the boolean vector to be translated
Returns:
the NodeStructure associated with the address

translate

cern.colt.bitvector.BitVector translate(NodeStructure ns)
Translates a NodeStructure into a BitVector.

Parameters:
ns - the NodeStructure to be translated
Returns:
a BitVector with the boolean address associated with the NodeStructure