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

All Known Implementing Classes:
BasicTranslator

public interface Translator

Interface for the translator between boolean vectors in sparse distributed memory, and node structures in the LIDA cognitive architecture.

Author:
Javier Snaider

Method Summary
 NodeStructure translate(cern.colt.bitvector.BitVector data)
          Translates a boolean vector into a node structure.
 cern.colt.bitvector.BitVector translate(NodeStructure structure)
          Translates a node structure into a boolean vector.
 

Method Detail

translate

NodeStructure translate(cern.colt.bitvector.BitVector data)
Translates a boolean vector into a node structure.

Parameters:
data - a byte vector with the boolean vector to be translated
Returns:
the node structure associated with the address

translate

cern.colt.bitvector.BitVector translate(NodeStructure structure)
Translates a node structure into a boolean vector.

Parameters:
structure - the node structure to be translated
Returns:
a byte vector with the boolean address associated with the structure