Difference between revisions of "Memory access"

From SIMA wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
<code>
 
<code>
public interface itfModuleMemoryAccess {
+
public interface itfModuleMemoryAccess  
 
       /**
 
       /**
 
       * Search for a general single entity or data structure
 
       * Search for a general single entity or data structure
Line 78: Line 78:
 
       */
 
       */
 
       public clsAssociationWordPresentation getSecondaryDataStructure(clsPrimaryDataStructure poDataStructure, double prThreshold);
 
       public clsAssociationWordPresentation getSecondaryDataStructure(clsPrimaryDataStructure poDataStructure, double prThreshold);
}
+
 
 
</code>
 
</code>

Revision as of 12:56, 26 February 2013

Jetzt gibt es nur den folgenden Memoryzugriff für die Module über den clsModuleBaseKB:

public interface itfModuleMemoryAccess

      /**
      * Search for a general single entity or data structure
      * 
       * (wendt)
      *
      * @since 26.02.2013 11:13:47
      *
      * @param poDataType
      * @param poPattern
      * @return
      */
      public <E> ArrayList<ArrayList<clsPair<Double, clsDataStructureContainer>>> searchEntity (eDataType poDataType, ArrayList<E> poPattern);
      /**
      * From the input data like, content, shape and color, the matching TPM is loaded from the memory
      * 
       * (wendt)
      *
      * @since 26.02.2013 11:24:24
      *
      * @param poContent
      * @param poShape
      * @param poColor
      * @return
      */
      public clsThingPresentationMesh searchExactEntityFromInternalAttributes(String poContent, String poShape, String poColor);
      /**
      * Search for images according to the input pattern
      * Usage: Fill libido discharge and repressed content
      * 
       * (wendt)
      *
      * @since 26.02.2013 11:18:27
      *
      * @param poPattern
      * @param poSearchContentType
      * @param prThreshold
      * @param pnLevel
      * @return
      */
      public ArrayList<clsPair<Double, clsDataStructurePA>> searchMesh(clsDataStructurePA poPattern, eContentType poSearchContentType, double prThreshold, int pnLevel);
      /**
      * Search a whole mesh, i. e. for an input image, search for the associated data structures for this mesh
      * 
       * (wendt)
      *
      * @since 26.02.2013 11:20:13
      *
      * @param poInput
      * @param pnLevel
      * @return
      */
      public clsDataStructurePA searchCompleteMesh(clsDataStructurePA poInput, int pnLevel);
      /**
      * Execute psychic spread activation for an image of the primary process
      * 
       * (wendt)
      *
      * @since 26.02.2013 11:21:05
      *
      * @param poInput
      * @param prPsychicEnergyIn
      */
      public void executePsychicSpreadActivation(clsThingPresentationMesh poInput, double prPsychicEnergyIn);
      /**
      * Get the secondary process data structure from a primary process data structure
      * 
       * (wendt)
      *
      * @since 26.02.2013 11:21:40
      *
      * @param poDataStructure
      * @param prThreshold
      * @return
      */
      public clsAssociationWordPresentation getSecondaryDataStructure(clsPrimaryDataStructure poDataStructure, double prThreshold);