Package org.mindswap.pellet.tableau.branch

Examples of org.mindswap.pellet.tableau.branch.Branch


      // need to update the branch node count as this is node has been
      // added otherwise during back jumping this node can be removed
      for( int j = 0; j < abox.getBranches().size(); j++ ) {
        // get next branch
        Branch branch = abox.getBranches().get( j );
        branch.setNodeCount( branch.getNodeCount() + 1 );
      }

      // track updated and new individuals; this is needed for the
      // incremental completion strategy
      abox.getIncrementalChangeTracker().addUpdatedIndividual( abox.getIndividual( i ) );
View Full Code Here


   
    if( extraIndividual == null || copyIndividuals ) {
      setBranch( abox.branch );
      branches = new ArrayList<Branch>( abox.branches.size() );
      for( int i = 0, n = abox.branches.size(); i < n; i++ ) {
        Branch branch = abox.branches.get( i );
        Branch copy;

        if( sourceABox == null ) {
          copy = branch.copyTo( this );
          copy.setNodeCount( branch.getNodeCount() + extra );
        }
        else {
          copy = branch;
        }
        branches.add( copy );
View Full Code Here

    }
   
   

    for( int i = 0, n = branches.size(); i < n; i++ ) {
      Branch branch = branches.get( i );
      Branch copy = branch.copyTo( this );
      branches.set( i, copy );

      if( i >= sourceABox.getBranches().size() ) {
              copy.setNodeCount( copy.getNodeCount() + nodeCount );
            }
            else {
              copy.setNodeCount( copy.getNodeCount() + 1 );
            }
    }

    t.stop();
View Full Code Here

TOP

Related Classes of org.mindswap.pellet.tableau.branch.Branch

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.