protected void addOutputNode_internal(BNode outputNode){
  if (outputNodes.containsKey(outputNode.getId())) {
    log.fine("node " + outputNode.getId() + " already included in the output nodes of "+ nodeId);
  }
 else {
    outputNodes.put(outputNode.getId(),outputNode);
  }
}

protected void addOutputNode_internal ( BNode outputNode ) { if ( outputNodes . containsKey ( outputNode . getId ( ) ) ) { log . fine ( "node " + outputNode . getId ( ) + " already included in the output nodes of " + nodeId ) ; } else { outputNodes . put ( outputNode . getId ( ) , outputNode ) ; } }
adds a new outgoing relation to the node . this method should never be called outside the addrelation method , to ensure consistency between the input and output links .
