RemoteExperimentEvent.java
Upload User: rhdiban
Upload Date: 2013-08-09
Package Size: 15085k
Code Size: 2k
Category:

Windows Develop

Development Platform:

Java

  1. /*
  2.  *    This program is free software; you can redistribute it and/or modify
  3.  *    it under the terms of the GNU General Public License as published by
  4.  *    the Free Software Foundation; either version 2 of the License, or
  5.  *    (at your option) any later version.
  6.  *
  7.  *    This program is distributed in the hope that it will be useful,
  8.  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
  9.  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  10.  *    GNU General Public License for more details.
  11.  *
  12.  *    You should have received a copy of the GNU General Public License
  13.  *    along with this program; if not, write to the Free Software
  14.  *    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  15.  */
  16. /*
  17.  *    RemoteExperimentEvent.java
  18.  *    Copyright (C) 2000 Mark Hall
  19.  *
  20.  */
  21. package weka.experiment;
  22. import java.io.Serializable;
  23. /**
  24.  * Class encapsulating information on progress of a remote experiment
  25.  *
  26.  * @author Mark Hall (mhall@cs.waikato.ac.nz)
  27.  * @version $Revision: 1.4 $
  28.  */
  29. public class RemoteExperimentEvent implements Serializable {
  30.   /** A status type message */
  31.   public boolean m_statusMessage;
  32.   /** A log type message */
  33.   public boolean m_logMessage;
  34.   /** The message */
  35.   public String m_messageString;
  36.   /** True if a remote experiment has finished */
  37.   public boolean m_experimentFinished;
  38.   /**
  39.    * Constructor
  40.    * @param status true for status type messages
  41.    * @param log true for log type messages
  42.    * @param finished true if experiment has finished
  43.    * @param message the message
  44.    */
  45.   public RemoteExperimentEvent(boolean status, boolean log, boolean finished,
  46.        String message) {
  47.     m_statusMessage = status;
  48.     m_logMessage = log;
  49.     m_experimentFinished = finished;
  50.     m_messageString = message;
  51.   }
  52. }