The JavaExporter class is an Exporter that translates an Engine and its components to the Java programming language using the jfuzzylite library.  
 More...
#include <JavaExporter.h>
The JavaExporter class is an Exporter that translates an Engine and its components to the Java programming language using the jfuzzylite library. 
- Author
- Juan Rada-Vilela, Ph.D. 
- See also
- CppExporter 
- 
Exporter 
- Since
- 4.0 
Definition at line 45 of file JavaExporter.h.
◆ JavaExporter()
  
  | 
        
          | fl::JavaExporter::JavaExporter | ( | bool | usingVariableNames = true | ) |  |  | explicit | 
 
 
◆ ~JavaExporter()
  
  | 
        
          | virtual fl::JavaExporter::~JavaExporter | ( |  | ) |  |  | virtual | 
 
 
◆ clone()
Creates a clone of the exporter. 
- Returns
- a clone of the exporter 
Implements fl::Exporter.
 
 
◆ isUsingVariableNames()
  
  | 
        
          | virtual bool fl::JavaExporter::isUsingVariableNames | ( |  | ) | const |  | virtual | 
 
Gets whether variables are exported using their names (e.g., power.setValue(Double.NaN)) instead of numbered identifiers (e.g., inputVariable1.setValue(Double.NaN)) 
- Returns
- whether variables are exported using their names 
 
 
◆ name()
  
  | 
        
          | virtual std::string fl::JavaExporter::name | ( |  | ) | const |  | virtual | 
 
Returns the name of the exporter. 
- Returns
- the name of the exporter 
Implements fl::Exporter.
 
 
◆ setUsingVariableNames()
  
  | 
        
          | virtual void fl::JavaExporter::setUsingVariableNames | ( | bool | usingVariableNames | ) |  |  | virtual | 
 
Sets whether variables are exported using their names (e.g., power.setValue(Double.NaN)) instead of numbered identifiers (e.g., inputVariable1.setValue(Double.NaN)) 
- Parameters
- 
  
    | usingVariableNames | indicates whether variables are exported using their names |  
 
 
 
◆ toString() [1/9]
  
  | 
        
          | virtual std::string fl::JavaExporter::toString | ( | const Engine * | engine | ) | const |  | virtual | 
 
Returns a string representation of the engine. 
- Parameters
- 
  
    | engine | is the engine to export |  
 
- Returns
- a string representation of the engine 
Implements fl::Exporter.
 
 
◆ toString() [2/9]
  
  | 
        
          | virtual std::string fl::JavaExporter::toString | ( | const InputVariable * | inputVariable, |  
          |  |  | const Engine * | engine |  
          |  | ) |  | const |  | virtual | 
 
Returns a string representation of the InputVariable in the Java programming language. 
- Parameters
- 
  
    | inputVariable | is the input variable |  | engine | is the engine in which the input variable is registered |  
 
- Returns
- a string representation of the input variable in the Java programming language 
 
 
◆ toString() [3/9]
  
  | 
        
          | virtual std::string fl::JavaExporter::toString | ( | const OutputVariable * | outputVariable, |  
          |  |  | const Engine * | engine |  
          |  | ) |  | const |  | virtual | 
 
Returns a string representation of the OutputVariable in the Java programming language. 
- Parameters
- 
  
    | outputVariable | is the output variable |  | engine | is the engine in which the output variable is registered |  
 
- Returns
- a string representation of the output variable in the Java programming language 
 
 
◆ toString() [4/9]
  
  | 
        
          | virtual std::string fl::JavaExporter::toString | ( | const RuleBlock * | ruleBlock, |  
          |  |  | const Engine * | engine |  
          |  | ) |  | const |  | virtual | 
 
Returns a string representation of the RuleBlock in the Java programming language. 
- Parameters
- 
  
    | ruleBlock | is the rule block |  | engine | is the engine in which the rule block is registered |  
 
- Returns
- a string representation of the rule block in the Java programming language 
 
 
◆ toString() [5/9]
  
  | 
        
          | virtual std::string fl::JavaExporter::toString | ( | const Term * | term | ) | const |  | virtual | 
 
Returns a string representation of the Term in the Java programming language. 
- Parameters
- 
  
  
- Returns
- a string representation of the term in the Java programming language 
 
 
◆ toString() [6/9]
  
  | 
        
          | virtual std::string fl::JavaExporter::toString | ( | const Activation * | activation | ) | const |  | virtual | 
 
Returns a string representation of the Activation method in the Java programming language. 
- Parameters
- 
  
    | activation | is the activation method |  
 
- Returns
- a string representation of the activation method in the Java programming language 
 
 
◆ toString() [7/9]
  
  | 
        
          | virtual std::string fl::JavaExporter::toString | ( | const Defuzzifier * | defuzzifier | ) | const |  | virtual | 
 
Returns a string representation of the Defuzzifier in the Java programming language. 
- Parameters
- 
  
    | defuzzifier | is the defuzzifier |  
 
- Returns
- a string representation of the defuzzifier in the Java programming language 
 
 
◆ toString() [8/9]
  
  | 
        
          | virtual std::string fl::JavaExporter::toString | ( | const Norm * | norm | ) | const |  | virtual | 
 
Returns a string representation of the Norm in the Java programming language. 
- Parameters
- 
  
  
- Returns
- a string representation of the norm in the Java programming language 
 
 
◆ toString() [9/9]
  
  | 
        
          | virtual std::string fl::JavaExporter::toString | ( | scalar | value | ) | const |  | virtual | 
 
Returns a string representation of the scalar value in the Java programming language. 
- Parameters
- 
  
  
- Returns
- a string representation of the scalar value in the Java programming language 
 
 
The documentation for this class was generated from the following file: