src/yang/weiwei/mtm/MTM.java
/**
	 * Write model to file
	 * @param modelFileName Model file name
	 * @throws IOException IOException
	 */
Write model to file
@param modelFileName Model file name
@throws IOException IOException
Write model to file @param modelFileName Model file name @throws IOException IOException
public void writeModel(String modelFileName) throws IOException
	{
		BufferedWriter bw=new BufferedWriter(new FileWriter(modelFileName));
		bw.write(gson.toJson(this));
		bw.close();
	}
public void writeModel ( String modelFileName ) throws IOException { BufferedWriter bw = new BufferedWriter ( new FileWriter ( modelFileName ) ) ; bw . write ( gson . toJson ( this ) ) ; bw . close ( ) ; }
Write model to file
 @param modelFileName Model file name
 @throws IOException IOException
Write model to file @param modelFileName Model file name @throws IOException IOException