下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。
FANN_TRAIN_INCREMENTAL
(int) FANN_TRAIN_BATCH
(int) FANN_TRAIN_RPROP
(int) FANN_TRAIN_QUICKPROP
(int) FANN_TRAIN_SARPROP
(int) FANN_LINEAR
(int) FANN_THRESHOLD
(int) FANN_THRESHOLD_SYMMETRIC
(int) FANN_SIGMOID
(int) FANN_SIGMOID_STEPWISE
(int) FANN_SIGMOID_SYMMETRIC
(int) FANN_SIGMOID_SYMMETRIC_STEPWISE
(int) FANN_GAUSSIAN
(int) FANN_GAUSSIAN_SYMMETRIC
(int) FANN_GAUSSIAN_STEPWISE
(int) FANN_ELLIOT
(int) FANN_ELLIOT_SYMMETRIC
(int) FANN_LINEAR_PIECE
(int) FANN_LINEAR_PIECE_SYMMETRIC
(int) FANN_SIN_SYMMETRIC
(int) FANN_COS_SYMMETRIC
(int) FANN_SIN
(int) FANN_COS
(int) FANN_ERRORFUNC_LINEAR
(int) FANN_ERRORFUNC_TANH
(int) FANN_STOPFUNC_MSE
(int) FANN_STOPFUNC_BIT
(int) FANN_NETTYPE_LAYER
(int) FANN_NETTYPE_SHORTCUT
(int) FANN_E_NO_ERROR
(int) FANN_E_CANT_OPEN_CONFIG_R
(int) FANN_E_CANT_OPEN_CONFIG_W
(int) FANN_E_WRONG_CONFIG_VERSION
(int) FANN_E_CANT_READ_CONFIG
(int) FANN_E_CANT_READ_NEURON
(int) FANN_E_CANT_READ_CONNECTIONS
(int) FANN_E_WRONG_NUM_CONNECTIONS
(int) FANN_E_CANT_OPEN_TD_W
(int) FANN_E_CANT_OPEN_TD_R
(int) FANN_E_CANT_READ_TD
(int) FANN_E_CANT_ALLOCATE_MEM
(int) FANN_E_CANT_TRAIN_ACTIVATION
(int) FANN_E_CANT_USE_ACTIVATION
(int) FANN_E_TRAIN_DATA_MISMATCH
(int) FANN_E_CANT_USE_TRAIN_ALG
(int) FANN_E_TRAIN_DATA_SUBSET
(int) FANN_E_INDEX_OUT_OF_BOUND
(int) FANN_E_SCALE_NOT_PRESENT
(int) FANN_E_INPUT_NO_MATCH
(int) FANN_E_OUTPUT_NO_MATCH
(int)