package |
ANN |
access |
public |
Methods
__construct()
__construct(\ANN\Network $objNetwork)
uses |
\ANN\createImage() |
uses |
\ANN\drawNetwork() |
uses |
\ANN\Network::getNumberHiddenLayers() |
uses |
\ANN\Network::getNumberInputs() |
uses |
\ANN\Network::getNumberHiddens() |
uses |
\ANN\Network::getNumberOutputs() |
Parameters
Returns PNG image
getImage() : \ANN\binary
Print PNG image
printImage()
Saves PNG image
saveToFile(string $strFilename)
Parameters
$strFilename
string
calculateImageHeight()
calculateImageHeight() : integer
calculateImageWidth()
calculateImageWidth() : integer
calculateYPosStart()
calculateYPosStart(integer $intNumberNeurons) : integer
Parameters
$intNumberNeurons
integer
Returns
integer
createImage()
createImage()
uses |
\ANN\calculateImageHeight() |
uses |
\ANN\calculateImageWidth() |
uses |
\ANN\setBackground() |
uses |
\ANN\setColors() |
drawConnections()
drawConnections()
uses |
\ANN\drawConnectionsHiddenOutput() |
uses |
\ANN\drawConnectionsHiddens() |
uses |
\ANN\drawConnectionsInputHidden() |
drawConnectionsHiddenOutput()
drawConnectionsHiddenOutput()
uses |
\ANN\calculateYPosStart() |
drawConnectionsHiddens()
drawConnectionsHiddens()
uses |
\ANN\calculateYPosStart() |
drawHiddenNeurons()
drawHiddenNeurons()
uses |
\ANN\calculateYPosStart() |
drawNetwork()
drawNetwork()
uses |
\ANN\drawConnections() |
uses |
\ANN\drawHiddenNeurons() |
uses |
\ANN\drawInputNeurons() |
uses |
\ANN\drawOutputNeurons() |
drawOutputNeurons()
drawOutputNeurons()
uses |
\ANN\calculateYPosStart() |
setBackground()
setBackground()
Properties
$handleColorBackground : resource
$handleColorConnection : resource
$handleColorNeuronBorder : resource
$handleColorNeuronHidden : resource
$handleColorNeuronOutput : resource
$intLayerDistance : integer
$intMaxNeuronsPerLayer : integer
$intNeuronDistance : integer
$intNumberHiddenLayers : integer
$intNumberNeuronsOfHiddenLayer : integer
$intNumberOfOutputs : integer