mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Changes around FuzzyLite library based on patch by q4a.
http://forum.vcmi.eu/viewtopic.php?p=6592#6592
This commit is contained in:
@@ -232,24 +232,36 @@ namespace fl {
|
||||
}
|
||||
|
||||
void Test::main(int args, char** argv) {
|
||||
FL_LOG("Starting in 2 second");
|
||||
FL_LOG("Example: Simple Mamdani");
|
||||
FL_LOG("=======================");
|
||||
sleep(2);
|
||||
SimpleMamdani();
|
||||
FL_LOG("=======================\n");
|
||||
FL_LOG("Starting in 2 second");
|
||||
FL_LOG("Example: Simple Mamdani");
|
||||
FL_LOG("=======================");
|
||||
#ifdef _MSC_VER
|
||||
//Sleep(2);
|
||||
#else
|
||||
sleep(2);
|
||||
#endif
|
||||
SimpleMamdani();
|
||||
FL_LOG("=======================\n");
|
||||
|
||||
FL_LOG("Starting in 2 second");
|
||||
FL_LOG("Example: Complex Mamdani");
|
||||
FL_LOG("========================");
|
||||
sleep(2);
|
||||
FL_LOG("Starting in 2 second");
|
||||
FL_LOG("Example: Complex Mamdani");
|
||||
FL_LOG("========================");
|
||||
#ifdef _MSC_VER
|
||||
//Sleep(2);
|
||||
#else
|
||||
sleep(2);
|
||||
#endif
|
||||
ComplexMamdani();
|
||||
FL_LOG("=======================\n");
|
||||
|
||||
FL_LOG("Starting in 2 second");
|
||||
FL_LOG("Example: Simple Pendulum");
|
||||
FL_LOG("========================");
|
||||
#ifdef _MSC_VER
|
||||
//Sleep(2);
|
||||
#else
|
||||
sleep(2);
|
||||
#endif
|
||||
|
||||
SimplePendulum();
|
||||
FL_LOG("=======================\n");
|
||||
@@ -257,7 +269,11 @@ namespace fl {
|
||||
FL_LOG("Starting in 2 second");
|
||||
FL_LOG("Example: Simple Takagi-Sugeno");
|
||||
FL_LOG("========================");
|
||||
#ifdef _MSC_VER
|
||||
//Sleep(2);
|
||||
#else
|
||||
sleep(2);
|
||||
#endif
|
||||
|
||||
SimpleTakagiSugeno();
|
||||
FL_LOG("=======================\n");
|
||||
|
||||
Reference in New Issue
Block a user