Exemplo n.º 1
0
 /**
  * @param a_index the index of the template to retrieve the key for
  * @return String
  * @author Klaus Meffert
  * @since 3.5
  */
 public String getUniqueIDTemplate(int a_index) {
   return m_uniqueIDTemplates.get(a_index);
 }
Exemplo n.º 2
0
 /**
  * A template is a gene that is the logical predecessor of the current gene. A template can occur
  * in mutation or crossing over. In the latter case can be at least two template genes. This is
  * why in this setter method the parameter a_index exists.
  *
  * @param a_templateID the unique ID of the template
  * @param a_index the index of the template, e.g. in crossing over for the second candidate gene
  *     this is 2
  * @author Klaus Meffert
  * @since 3.5
  */
 public void setUniqueIDTemplate(String a_templateID, int a_index) {
   m_uniqueIDTemplates.put(a_index, a_templateID);
 }