Package aterm

Examples of aterm.ATerm


  }

 
  public void visit(OWLDataSomeValuesFrom restriction) {
    restriction.getProperty().accept( this );
    ATerm p = term;
    restriction.getFiller().accept( this );
    ATerm c = term;

    term = ATermUtils.makeSomeValues( p, c );
  }
View Full Code Here


        return null;
  }

  private Bool checkAllValuesClash(KnowledgeBase kb, ATermAppl av, CachedNode root,
      CachedNode otherRoot) {
    ATerm r = av.getArgument( 0 );
    if( r.getType() == ATerm.LIST )
      r = ((ATermList) r).getFirst();
    Role role = kb.getRole( r );

    if( !role.hasComplexSubRole() ) {
      if( otherRoot.hasRNeighbor( role ) ) {
View Full Code Here

  }

  public void visit(OWLTypedConstant constant) {
    String lexicalValue = constant.getLiteral();
    constant.getDataType().accept( this );
    ATerm datatype = term;

    term = ATermUtils.makeTypedLiteral( lexicalValue, datatype.toString() );
  }
View Full Code Here

    term = ATermUtils.makeOr( setOfTerms );
  }

  public void visit(OWLObjectSomeRestriction restriction) {
    restriction.getProperty().accept( this );
    ATerm p = term;
    restriction.getFiller().accept( this );
    ATerm c = term;

    term = ATermUtils.makeSomeValues( p, c );
  }
View Full Code Here

    term = ATermUtils.makeSomeValues( p, c );
  }

  public void visit(OWLObjectAllRestriction restriction) {
    restriction.getProperty().accept( this );
    ATerm p = term;
    restriction.getFiller().accept( this );
    ATerm c = term;

    term = ATermUtils.makeAllValues( p, c );
  }
View Full Code Here

    term = ATermUtils.makeAllValues( p, c );
  }

  public void visit(OWLObjectValueRestriction restriction) {
    restriction.getProperty().accept( this );
    ATerm p = term;
    restriction.getValue().accept( this );
    ATermAppl ind = term;

    term = ATermUtils.makeHasValue( p, ind );
  }
View Full Code Here

  public void visit(OWLObjectExactCardinalityRestriction restriction) {
    addSimpleProperty( restriction.getProperty() );

    restriction.getProperty().accept( this );
    ATerm p = term;
    int n = restriction.getCardinality();
    restriction.getFiller().accept( this );
    ATermAppl desc = term;

    term = ATermUtils.makeCard( p, n, desc );
View Full Code Here

  public void visit(OWLObjectMaxCardinalityRestriction restriction) {
    addSimpleProperty( restriction.getProperty() );

    restriction.getProperty().accept( this );
    ATerm p = term;
    int n = restriction.getCardinality();
    restriction.getFiller().accept( this );
    ATermAppl desc = term;

    term = ATermUtils.makeMax( p, n, desc );
View Full Code Here

  public void visit(OWLObjectMinCardinalityRestriction restriction) {
    addSimpleProperty( restriction.getProperty() );

    restriction.getProperty().accept( this );
    ATerm p = term;
    int n = restriction.getCardinality();
    restriction.getFiller().accept( this );
    ATermAppl desc = term;

    term = ATermUtils.makeMin( p, n, desc );
View Full Code Here

    term = ATermUtils.makeMin( p, n, desc );
  }

  public void visit(OWLDataExactCardinalityRestriction restriction) {
    restriction.getProperty().accept( this );
    ATerm p = term;
    int n = restriction.getCardinality();
    restriction.getFiller().accept( this );
    ATermAppl desc = term;

    term = ATermUtils.makeCard( p, n, desc );
View Full Code Here

TOP

Related Classes of aterm.ATerm

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.