// Copyright (c) 1996, 1997, 1998 Bruno R. Preiss, P.Eng. // $Author: brpreiss $ // $Date: 1998/12/14 02:57:41 $ // $RCSfile: Application9.java,v $ // $Revision: 3.4 $ package Opus5; import java.io.*; /** * Application program that illustrates the use of a partition * to compute equivalence classes. * @see Algorithms#equivalenceClasses * @author Bruno R. Preiss, P.Eng. * @version $Id: Application9.java,v 3.4 1998/12/14 02:57:41 brpreiss Exp $ **/ public class Application9 { //[ final String copyright = "@(#) Copyright (c) 1998 by Bruno R. Preiss, P.Eng."; //] /** * Invokes the method that computes equivalence classes. * @param args The command-line arguments. Ignored. * @see Algorithms#equivalenceClasses **/ public static void main (String[] args) { try { Algorithms.equivalenceClasses ( new InputStreamReader (Terminal.in), new PrintWriter (Terminal.out, true)); } catch (IOException exception) { Terminal.out.println (exception); } } }