Package org.cipres.treebase.domain.matrix

Examples of org.cipres.treebase.domain.matrix.TypeSet


    for (int i = 0; i < pSetVector.size(); i++) {
      SpecsSet ss = (SpecsSet) pSetVector.elementAt(i);
      if (ss instanceof ParsimonyModelSet) {
        ParsimonyModelSet pmSet = (ParsimonyModelSet) ss;

        TypeSet typeSet = createTypeSet(pMesqMatrix, pmSet, pMatrix);

        if (pmSet == defaultModelSet) {
          foundDefault = true;
          pMatrix.setDefaultTypeSet(typeSet);
        }
        pMatrix.getTypeSets().add(typeSet);
      }
    }

    if (!foundDefault && defaultModelSet != null) {
      TypeSet typeSet = createTypeSet(pMesqMatrix, defaultModelSet, pMatrix);

      pMatrix.setDefaultTypeSet(typeSet);

      // Default typeset *is* in the above weight set collection.
      pMatrix.getTypeSets().add(typeSet);
View Full Code Here


  private TypeSet createTypeSet(
    CharacterData pMesqMatrix,
    ParsimonyModelSet pPmSet,
    CharacterMatrix pMatrix) {

    TypeSet typeSet = new TypeSet();
    // typeSet.setTitle(pPmSet.getName3());
    //
    // int numChars = pMesqMatrix.getNumChars();
    // Set<CharWeight> tbWeights = new HashSet<CharWeight>();
    //
View Full Code Here

TOP

Related Classes of org.cipres.treebase.domain.matrix.TypeSet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.