Class: MPVCellAuto

Source Location: /viewers/mpvcellauto.php

Class Overview [line 40]


Cellular automata viewer class for MaximaPHP.

Author(s):

Version:

Copyright:

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods



Class Details

Cellular automata viewer class for MaximaPHP.

[ Top ]


Class Variables

$defIteration =  49

[line 55]

Default iteration number

Type: mixed

Overrides:

[ Top ]

$defPointSize =  1

[line 60]

Default point size

Type: mixed

Overrides:

[ Top ]

$defRule =  '00011110'

[line 50]

Default rule

Type: mixed

Overrides:

[ Top ]

$examples = array( '1', '0', '01', '11', '10', '111', '110', '101', '100', '011', '010', '001', '1000', '0001', '1101', '0100', '1111', '0101', '1001', '1010', '0011', '1100', '0010', '0111', '1011', '1110', '0110', '01010', '01101', '01011', '01100', '01001', '10100', '11011', '11010', '11001', '11100', '11101', '11111', '11110', '11000', '10111', '10001', '10000', '01111', '10010', '01000', '10110', '10101', '01110', '10011', '00110', '00111', '00101', '00011', '00010', '00001', '00100', '010100', '100100', '000011', '010101', '111100', '111011', '000001', '010001', '111001', '111010', '010010', '010011', '111101', '100110', '100101', '111110', '100000', '011010', '000010', '011111', '011011', '011101', '011100', '011110', '011001', '001000', '010111', '101000', '100011', '100010', '111111', '100001', '011000', '010110', '100111', '000110', '000100', '001100', '101100', '110101', '001101', '101111', '110100', '110010', '000111', '001010', '101110', '110011', '101101', '001011', '110110', '101011', '110111', '111000', '110001', '001111', '101001', '101010', '110000', '010000', '000101', '001001', '001110', '0110010', '1000101', '1111111', '1111110', '1000011', '0110001', '1000001', '1000100', '0111110', '0110111', '0111011', '0111010', '0111000', '0111001', '0110110', '0111100', '0111111', '0110011', '0110100', '0111101', '0110101', '1000000', '1001110', '1110110', '1100011', '1100100', '1100101', '1100110', '1110101', '1100010', '1110111', '1011110', '1111000', '1011111', '1100000', '1100001', '1100111', '1110100', '1110001', '1101101', '1101110', '1101111', '1110000', '1101100', '1110010', '1101001', '1101000', '1110011', '1101010', '1101011', '1011101', '1011100', '1001101', '1001100', '1001111', '1010000', '1010001', '1111100', '1001011', '1001000', '1000111', '1001001', '1111101', '1001010', '1111011', '1010010', '1111001', '1011001', '1011010', '1011011', '0110000', '1011000', '1010111', '1111010', '1010011', '1010100', '1010101', '1010110', '1000110', '1000010', '0010111', '0011000', '0011001', '0010110', '0010101', '0010011', '0010100', '0011010', '0011011', '0100000', '0100001', '0100010', '0011111', '0011110', '0011100', '0011101', '0010010', '0010001', '0000101', '0000111', '0001000', '0000100', '0000011', '0000001', '0000010', '0001001', '0001010', '0001111', '0010000', '0001110', '0001101', '0001011', '0001100', '0100011', '0000110', '0100111', '0100110', '0101110', '0101000', '0101100', '0101010', '0101011', '0101001', '0100101', '0101101', '0101111', '0100100', '10101100', '10101101', '10101110', '10110000', '10101111', '10101011', '10000100', '10100110', '10100101', '10100111', '10101000', '10110001', '10101001', '10101010', '10110010', '10111010', '10111001', '10111011', '10111100', '10111101', '10000010', '10111000', '10110111', '10110011', '10000011', '10110100', '10110101', '10110110', '10100100', '10100011', '10010001', '10010000', '10010010', '10010011', '10010100', '10000110', '10000111', '10001111', '10001010', '10001000', '10001011', '10001100', '10001110', '10001101', '10010101', '10010110', '10111110', '10000101', '10011111', '10100000', '10100010', '10100001', '10011110', '10011101', '10011000', '10010111', '10011001', '10011010', '10011100', '10011011', '10001001', '11000001', '11101011', '11101010', '11101001', '11101100', '11101101', '11101111', '11101110', '11101000', '11100111', '11100010', '11100001', '11100011', '11100100', '11100110', '11100101', '11110000', '11110001', '11111011', '11111010', '11111100', '11111101', '11111111', '11111110', '11111001', '11111000', '11110011', '11110010', '11110100', '11110101', '11110111', '11110110', '11100000', '11011111', '11001010', '11001001', '11001000', '11001011', '11001100', '11001110', '11001101', '11000111', '11000110', '10000001', '11000000', '11000010', '11000011', '11000101', '11000100', '11001111', '11010000', '11011010', '11011001', '11011011', '11011100', '11011110', '11011101', '11011000', '11010111', '11010010', '11010001', '11010011', '11010100', '11010110', '11010101', '10111111', '00000010', '01010001', '00011000', '01010010', '00010111', '00101001', '01010011', '01010000', '00111000', '01001101', '00011010', '00101000', '01001110', '01001111', '00011001', '01010100', '00010110', '01011010', '00101010', '00010011', '01011011', '01011100', '00110110', '01011001', '00010100', '00110111', '01010101', '01010110', '00010101', '01011000', '01010111', '01001100', '01001011', '01000000', '00100001', '00100000', '01000001', '01000010', '00100110', '00111111', '00111011', '00111101', '00100100', '00100011', '00100101', '00100010', '00111110', '00011111', '01000011', '00011100', '01001000', '01001001', '00111001', '00011011', '01001010', '00100111', '01000111', '01000100', '00111010', '00011110', '01000101', '00011101', '01000110', '00010010', '01011101', '01110100', '00110000', '00000110', '01110101', '01110110', '00110010', '01110011', '00000111', '01110000', '01101111', '00001000', '01110001', '01110010', '00101110', '00000101', '01110111', '00111100', '01111100', '01111101', '01111110', '01111111', '00000001', '00110001', '01111011', '00000100', '01111000', '01111001', '00101111', '00000011', '01111010', '00001001', '01101110', '00001111', '01100010', '01100011', '01100100', '01100101', '00001110', '00110101', '01100001', '00010001', '01011110', '01011111', '00101011', '00010000', '01100000', '00101100', '01100110', '00101101', '01101011', '01101100', '00001010', '00110011', '01101101', '00001011', '01101010', '01100111', '00001101', '00110100', '01101000', '01101001', '00001100', '10000000')

[line 65]

Examples for initial condition

Type: mixed

Overrides:

[ Top ]

$maxSize =  3000

[line 45]

Maximum width of PNG file in pixels

Type: mixed

Overrides:

[ Top ]


Class Methods

formatOutput

string formatOutput( string $result)

[line 89]

Format output from MaximaPHP

Parameters:

  • string $result - output from MaximaPHP

[ Top ]

getExamples

string getExamples( integer $count)

[line 72]

Get examples

Parameters:

  • integer $count - number of examples to get

[ Top ]

getXSize

integer getXSize( integer $init_len, integer $iteration, integer $point_size)

[line 105]

Calculate width of PNG file

Parameters:

  • integer $init_len - initial condition length
  • integer $iteration - iteration number
  • integer $point_size - point size

[ Top ]

getYSize

integer getYSize( integer $iteration, integer $point_size)

[line 138]

Calculate height of PNG file

Parameters:

  • integer $iteration - iteration number
  • integer $point_size - point size

[ Top ]

show

void show( $qstring)

[line 146]

Show the viewer

Parameters:

  • $qstring -

[ Top ]


Class Constants


Documentation generated on Mon, 23 Apr 2007 13:00:29 +0900 by phpDocumentor 1.3.1