Logo
Distributed Genetic Programming Framework
print print

File org.dgpf.gp.vm.base.IVMInformation.java

Here you can find all the information about the file org.dgpf.gp.vm.base.IVMInformation.java. You may explore it here or download it onto your local disk.
/*
 * Copyright (c) 2006 Thomas Weise
 * 
 * E-Mail           : tweise@gmx.de
 * Creation Date    : 2006-07-06 15:42:38
 * Original Filename: org.dgpf.gp.vm.base.IVMInformation.java
 * Version          : 1.0.0
 * Last modification: 2006-07-06
 *                by: Thomas Weise
 * 
 * License          : GNU LESSER GENERAL PUBLIC LICENSE
 *                    Version 2.1, February 1999
 *                    You should have received a copy of this license along
 *                    with this library; if not, write to the Free Software
 *                    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *                    MA 02111-1307, USA or download the license under
 *                    http://www.gnu.org/copyleft/lesser.html.
 *                    
 * Warranty         : This software is provided "as is" without any
 *                    warranty; without even the implied warranty of
 *                    merchantability or fitness for a particular purpose.
 *                    See the Gnu Lesser General Public License for more
 *                    details.
 */

 
package org.dgpf.gp.vm.base;

/**
 * This interfaces unifies access to information belonging to one single
 * virtual machine or to a set of virtual machines.
 *
 * @author Thomas Weise
 */

public interface IVMInformation
  {

/**
 * Obtain the accumulated costs of the program execution.
 * @return The accumulated costs of the program execution.
 */

  public  abstract double  get_consumed_costs ();
  
/**
 * Return the total count of ticks ellapsed, that is, the total count of
 * instructions executed.
 * @return The total count of ticks ellapsed, that is, the total count of
 *         instructions executed.
 */

  public  abstract  long    get_consumed_ticks ();
  
/**
 * Obtain the peak memory size.
 * @return The peak memory size.
 */

  public  abstract int get_peak_memory ();
  
/**
 * Obtain the peak frame count.
 * @return The peak frame count.
 */

  public  abstract int get_peak_frames();
  
/**
 * Obtain the count a procedure call failed due to insufficient free frames
 * which reflects a stack overflow in normal programming environments.
 * @return The count a procedure call failed due to insufficient free
 *         frames which reflects a stack overflow in normal programming
 *         environments.
 */

  public  abstract long get_frame_errors  ();
  
/**
 * Obtain the count of invalid write operations, that is, write operations
 * that surpass the maximum memory address available.
 * @return The count of invalid write operations, that is, write operations
 * that surpass the maximum memory address available.
 */

  public  abstract long get_mem_errors  ();
  
/**
 * Perform a single clock tick.
 * @return  <code>true</code> if and only if the program wasn't terminated
 *          yet and an instruction was executed.
 */

  public  abstract  boolean tick  ();
  }

File Information:

file name:IVMInformation.java
package:org.dgpf.gp.vm.base
qualified name:org.dgpf.gp.vm.base.IVMInformation.java
file type:Java Source File
download location:download http://dgpf.sourceforge.net/source/org/dgpf/gp/vm/base/IVMInformation.java
size:2.912 KB (2982 B)
uploaded: 2015-07-22 04:10:56 GMT+0000
last update: 2006-07-08 07:20:29 GMT+0000
last access: 2017-11-23 05:33:07 GMT+0000

statistics online since 2006-01-02.   RSS Feed
Contact us by sending an email to tweise@gmx.de to receive further information, to report errors, or to join our project.
All content on this site (http://dgpf.sourceforge.net/) is LGPL-licensed.
http://dgpf.sourceforge.net/scripts/source/source.php last modified at 2015-07-22 04:10:53 GMT+0000 served at 2017-11-23 05:33:07 GMT+0000.
Valid CSS Valid XHTML 1.1
Valid RSS SourceForge.net Logo