comparison src/samer/maths/Generator.java @ 0:bf79fb79ee13

Initial Mercurial check in.
author samer
date Tue, 17 Jan 2012 17:50:20 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:bf79fb79ee13
1 /*
2 * Generator.java
3 *
4 * Copyright (c) 2000, Samer Abdallah, King's College London.
5 * All rights reserved.
6 *
7 * This software is provided AS iS and WITHOUT ANY WARRANTY;
8 * without even the implied warranty of MERCHANTABILITY or
9 * FITNESS FOR A PARTICULAR PURPOSE.
10 */
11
12 package samer.maths;
13
14 /**
15 This defines an object that generates a sequence of numbers.
16 */
17
18 public interface Generator
19 {
20 double next(); // return next number
21 void next(double[] x); // return next lot of numbers
22 void dispose(); // clean up any resources used
23 }