00001 #ifndef Processor_H 00002 #define Processor_H 00003 /*######################################################################## 00004 File: Processor.h 00005 Creation date: 25th May 2002 00006 00007 Copyright 2002 Mark Williams, all rights reserved. 00008 Contact: mark@extrabit.com 00009 http://www.extrabit.com 00010 00011 This program is free software; you can redistribute it and/or 00012 modify it under the terms of the GNU General Public License 00013 as published by the Free Software Foundation; either version 2 00014 of the License, or (at your option) any later version. 00015 00016 This program is distributed in the hope that it will be useful, 00017 but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 GNU General Public License for more details. 00020 00021 ########################################################################*/ 00022 00023 /*######################################################################## 00024 Headers 00025 ########################################################################*/ 00026 00027 /*######################################################################## 00028 Declarations 00029 ########################################################################*/ 00030 00031 class ComplexNumber ; 00032 00033 /*######################################################################## 00034 Class Definition 00035 ########################################################################*/ 00036 00044 class Processor 00045 { 00046 public: 00047 virtual ComplexNumber iterate (const ComplexNumber& z, const ComplexNumber& u) const = 0 ; 00048 virtual unsigned short iterate_to_end (const ComplexNumber& initial_z, const ComplexNumber& u, unsigned short max_itns) const = 0 ; 00049 } ; 00050 00051 00052 /*######################################################################## 00053 End 00054 ########################################################################*/ 00055 #endif
1.2.16