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 both articulation1 and articulation2. 
	 */
@param articulation1
@param articulation2
@return A string containing all RCC-5 relation characters which are in both articulation1 and articulation2.
@param articulation1 @param articulation2 @return A string containing all RCC - 5 relation characters which are in both articulation1 and articulation2 .
public static String intersect(String articulation1, String articulation2){
		if (articulation1 == null || articulation2 == null ||
				articulation1.isEmpty() || articulation2.isEmpty())
			return "";
		String newArticulation = "";
		for (char relation : RCC5_RELATION_CHARS.toCharArray())
			if ( articulation1.contains(relation+"") && articulation2.contains(relation+"") )
				newArticulation += relation;
		return newArticulation;
	}
public static String intersect ( String articulation1 , String articulation2 ) { if ( articulation1 == null || articulation2 == null || articulation1 . isEmpty ( ) || articulation2 . isEmpty ( ) ) return "" ; 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 both articulation1 and articulation2.
@param articulation1 @param articulation2 @return A string containing all RCC - 5 relation characters which are in both articulation1 and articulation2 .