コード例 #1
0
 /*..........................................GeographicData................*/
 public CharacterData makeCharacterData(int ntaxa, int nchars) {
   GeographicData data = new GeographicData(getMatrixManager(), ntaxa, nchars, getTaxa());
   data.setItemsAs(this);
   return data;
 }
コード例 #2
0
 public CharacterData makeCharacterData(CharMatrixManager manager, Taxa taxa) {
   GeographicData data = new GeographicData(getMatrixManager(), taxa.getNumTaxa(), 0, taxa);
   data.setItemsAs(this);
   return data;
 }
コード例 #3
0
 /*..........................................GeographicData................*/
 public CharacterData makeCharacterData() {
   GeographicData data =
       new GeographicData(getMatrixManager(), getNumTaxa(), getNumChars(), getTaxa());
   data.setItemsAs(this);
   return data;
 }