source: src/main/java/weka/experiment/RemoteExperimentEvent.java @ 16

Last change on this file since 16 was 4, checked in by gnappo, 14 years ago

Import di weka.

File size: 2.0 KB
RevLine 
[4]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/*
18 *    RemoteExperimentEvent.java
19 *    Copyright (C) 2000 University of Waikato, Hamilton, New Zealand
20 *
21 */
22
23package weka.experiment;
24
25import weka.core.RevisionHandler;
26import weka.core.RevisionUtils;
27
28import java.io.Serializable;
29
30/**
31 * Class encapsulating information on progress of a remote experiment
32 *
33 * @author Mark Hall (mhall@cs.waikato.ac.nz)
34 * @version $Revision: 1.7 $
35 */
36public class RemoteExperimentEvent
37  implements Serializable {
38
39  /** for serialization */
40  private static final long serialVersionUID = 7000867987391866451L;
41
42  /** A status type message */
43  public boolean m_statusMessage;
44
45  /** A log type message */
46  public boolean m_logMessage;
47
48  /** The message */
49  public String m_messageString;
50
51  /** True if a remote experiment has finished */
52  public boolean m_experimentFinished;
53
54  /**
55   * Constructor
56   * @param status true for status type messages
57   * @param log true for log type messages
58   * @param finished true if experiment has finished
59   * @param message the message
60   */
61  public RemoteExperimentEvent(boolean status, boolean log, boolean finished,
62                               String message) {
63    m_statusMessage = status;
64    m_logMessage = log;
65    m_experimentFinished = finished;
66    m_messageString = message;
67  }
68}
Note: See TracBrowser for help on using the repository browser.