mirror of
https://github.com/lxsang/antd-lua-plugin
synced 2024-12-30 19:18:21 +01:00
25 lines
425 B
C
25 lines
425 B
C
|
#ifndef FANN_FANN_TEST_TRAIN_H
|
||
|
#define FANN_FANN_TEST_TRAIN_H
|
||
|
|
||
|
#include "fann_test.h"
|
||
|
|
||
|
class FannTestTrain : public FannTest {
|
||
|
protected:
|
||
|
fann_type xorInput[8] = {
|
||
|
0.0, 0.0,
|
||
|
0.0, 1.0,
|
||
|
1.0, 0.0,
|
||
|
1.0, 1.0};
|
||
|
fann_type xorOutput[4] = {
|
||
|
0.0,
|
||
|
1.0,
|
||
|
1.0,
|
||
|
0.0};
|
||
|
|
||
|
virtual void SetUp();
|
||
|
|
||
|
virtual void TearDown();
|
||
|
};
|
||
|
|
||
|
#endif
|