A fuzzy logic C++ library
Functions | Variables
demo1.cpp File Reference

Visual basic fuzzy test, see detailed description. More...

#include "app_common.hpp"
#include "slifis_gapi.hpp"
+ Include dependency graph for demo1.cpp:

Functions

string g_Wnd_activated_mf_set ("activated MF set")
void Mouse_CB (int event, int x, int, int, void *param)
 Common mouse callback.
void Process (int x)
int main (int argc, char *argv[])
 See demo1.cpp.

Variables

int g_active = 0
 active window
vector< PLOT_FS * > g_plot
 table of pointers on plots of inputs
PLOT_FSg_pfout
 pointer on plot of output set of functions
vector< string > g_WndName
 window names for inputs
std::vector< double > g_real_x
 Input array.
SLIFISgp_fis

Detailed Description

Visual basic fuzzy test, see detailed description.

If loading a $ n $ inputs FIS, then $ 5 + n $ windows will be opened:


Function Documentation

string g_Wnd_activated_mf_set ( "activated MF set"  )

Referenced by main(), and Process().

void Mouse_CB ( int  event,
int  x,
int  y,
int  flags,
void *  param 
)

Common mouse callback.

void Process ( int  x)
int main ( int  argc,
char *  argv[] 
)

Variable Documentation

int g_active = 0

active window

Referenced by Process().

vector<PLOT_FS*> g_plot

table of pointers on plots of inputs

Referenced by DrawDefuzz(), main(), and Process().

pointer on plot of output set of functions

Referenced by main(), and Process().

vector< string > g_WndName

window names for inputs

Referenced by main(), and Process().

std::vector<double> g_real_x

Input array.

Referenced by main(), and Process().

Referenced by main(), and Process().