src-gu/mir-reasoner/src/common_classes/Articulations.java
/**
	 * @param articulation1
	 * @param articulation2
	 * @return A string containing all RCC-5 relation characters which are in either articulation1 or articulation2. 
	 */
@param articulation1
@param articulation2
@return A string containing all RCC-5 relation characters which are in either articulation1 or articulation2.
@param articulation1 @param articulation2 @return A string containing all RCC - 5 relation characters which are in either articulation1 or articulation2 .
public static String union(String articulation1, String articulation2){
		if (articulation1 == null && articulation2 == null)
			return "";
		else if (articulation1 == null)
			return articulation2;
		else if (articulation2 == null)
			return articulation1;
		String newArticulation = "";
		for (char relation : RCC5_RELATION_CHARS.toCharArray())
			if ( articulation1.contains(relation+"") || articulation2.contains(relation+"") )
				newArticulation += relation;
		return newArticulation;
	}
public static String union ( String articulation1 , String articulation2 ) { if ( articulation1 == null && articulation2 == null ) return "" ; else if ( articulation1 == null ) return articulation2 ; else if ( articulation2 == null ) return articulation1 ; String newArticulation = "" ; for ( char relation : RCC5_RELATION_CHARS . toCharArray ( ) ) if ( articulation1 . contains ( relation + "" ) || articulation2 . contains ( relation + "" ) ) newArticulation += relation ; return newArticulation ; }
@param articulation1
 @param articulation2
 @return A string containing all RCC-5 relation characters which are in either articulation1 or articulation2.
@param articulation1 @param articulation2 @return A string containing all RCC - 5 relation characters which are in either articulation1 or articulation2 .