File: getfis.html

package info (click to toggle)
octave-fuzzy-logic-toolkit 0.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,024 kB
  • sloc: makefile: 147
file content (144 lines) | stat: -rw-r--r-- 8,027 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Octave Fuzzy Logic Toolkit: getfis</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/css/bootstrap.min.css" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
    <script type="text/javascript" async
      src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML">
    </script>
    <style>
    var {
      font-style: italics;
      font-weight: bold;
    }
    td {
      vertical-align: top;
    }
    </style>
  </head>
  <body>
    <div class="bg-dark">
      <div class="container-xl">
        <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
          <div class="container-fluid">
            <a class="navbar-brand" href=index.html>
              <img src="assets/fuzzy-logic-toolkit.png" alt="fuzzy-logic-toolkit" class="d-inline-block align-top" width="25" height="25">
              Octave Fuzzy Logic Toolkit
            </a>
            <button type="button" class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
              <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
              <ul class="navbar-nav">
                <li class="nav-item">
                  <a class="nav-link" href="index.html#Text Representation of Fuzzy Inference Systems">
                    <i class="fas fa-list-alt"></i>
                    Text Representation of Fuzzy Inference Systems
                  </a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="https://gnu-octave.github.io/packages/">
                  <img src="assets/octave-logo.svg" alt="GNU Octave logo" class="d-inline-block align-top" width="25" height="25">
                    Octave Packages
                  </a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="https://www.octave.org">
                    <i class="fas fa-home"></i>
                    GNU Octave website
                  </a>
                </li>
              </ul>
            </div>
          </div>
        </nav>
      </div>
    </div>
    <div class="container-xl my-4">
      <div class="card rounded">
        <div class="card-header card-header-mod">
          <div class="row d-flex flex-wrap align-items-center">
            <div class="col-sm-3 col-md-5 mb-2 mb-sm-0">
              <h3 class="d-inline-block mr-2">
              Function&nbsp;Reference: <b><code>getfis</code></b>
              </h3>
            </div>
          </div>
        </div>
        <div class="card-body">
<dl>
<dt><u>Function File:</u> <var>retval</var> = <b>getfis</b><i> (<var>fis</var>)</i></dt>
<dt><u>Function File:</u> <var>retval</var> = <b>getfis</b><i> (<var>fis</var>, <var>property</var>)</i></dt>
<dt><u>Function File:</u> <var>retval</var> = <b>getfis</b><i> (<var>fis</var>, <var>in_or_out</var>, <var>var_index</var>)</i></dt>
<dt><u>Function File:</u> <var>retval</var> = <b>getfis</b><i> (<var>fis</var>, <var>in_or_out</var>, <var>var_index</var>, <var>var_property</var>)</i></dt>
<dt><u>Function File:</u> <var>retval</var> = <b>getfis</b><i> (<var>fis</var>, <var>in_or_out</var>, <var>var_index</var>, <var>mf</var>, <var>mf_index</var>)</i></dt>
<dt><u>Function File:</u> <var>retval</var> = <b>getfis</b><i> (<var>fis</var>, <var>in_or_out</var>, <var>var_index</var>, <var>mf</var>, <var>mf_index</var>, <var>mf_property</var>)</i></dt>
</dl>

<p> Return or print the property (field) values of an FIS structure
 specified by the arguments.
</p>
<div class="ms-5">
<p> There are six forms of getfis:
</p>
 <table>
<thead><tr><th width="20%">Number of Arguments</th><th width="70%">Action Taken</th></tr></thead>
<tr><td width="20%">1</td><td width="70%">Print (some) properties of an FIS structure on standard output.
       Return the empty set.</td></tr>
<tr><td width="20%">2</td><td width="70%">Return a specified property of the FIS structure. The properties
       that may be specified are: name, type, version, numinputs,
       numoutputs, numinputmfs, numoutputmfs, numrules, andmethod,
       ormethod, impmethod, addmethod, defuzzmethod, inlabels, outlabels,
       inrange, outrange, inmfs, outmfs, inmflabels, outmflabels,
       inmftypes, outmftypes, inmfparams, outmfparams, and rulelist.</td></tr>
<tr><td width="20%">3</td><td width="70%">Print the properties of a specified input or output variable
       of the FIS structure. Return the empty set.</td></tr>
<tr><td width="20%">4</td><td width="70%">Return a specified property of an input or output variable.
       The properties that may be specified are: name, range, nummfs,
       and mflabels.</td></tr>
<tr><td width="20%">5</td><td width="70%">Print the properties of a specified membership function of the
       FIS structure. Return the empty set.</td></tr>
<tr><td width="20%">6</td><td width="70%">Return a specified property of a membership function. The
       properties that may be specified are: name, type, and params.</td></tr>
</table>
 <br>
<p> The types/values of the arguments are expected to be:
</p>
 <table>
<thead><tr><th width="20%">Argument</th><th width="70%">Expected Type or Value</th></tr></thead>
<tr><td width="20%"><var>fis</var></td><td width="70%">an FIS structure</td></tr>
<tr><td width="20%"><var>property</var></td><td width="70%">a string; one of: &rsquo;name&rsquo;, &rsquo;type&rsquo;, &rsquo;version&rsquo;, &rsquo;numinputs&rsquo;,
       &rsquo;numoutputs&rsquo;, &rsquo;numinputmfs&rsquo;, &rsquo;numoutputmfs&rsquo;,
       &rsquo;numrules&rsquo;, &rsquo;andmethod&rsquo;, &rsquo;ormethod&rsquo;, &rsquo;impmethod&rsquo;,
       &rsquo;addmethod&rsquo;, &rsquo;defuzzmethod&rsquo; &rsquo;inlabels&rsquo;, &rsquo;outlabels&rsquo;,
       &rsquo;inrange&rsquo;, &rsquo;outrange&rsquo;, &rsquo;inmfs&rsquo;, &rsquo;outmfs&rsquo;,
       &rsquo;inmflabels&rsquo;, &rsquo;outmflabels&rsquo;, &rsquo;inmftypes&rsquo;,
       &rsquo;outmftypes&rsquo;, &rsquo;inmfparams&rsquo;, &rsquo;outmfparams&rsquo;, and
       &rsquo;rulelist&rsquo; (case-insensitive)</td></tr>
<tr><td width="20%"><var>in_or_out</var></td><td width="70%">either &rsquo;input&rsquo; or &rsquo;output&rsquo; (case-insensitive)</td></tr>
<tr><td width="20%"><var>var_index</var></td><td width="70%">a valid integer index of an input or output FIS variable</td></tr>
<tr><td width="20%"><var>var_property</var></td><td width="70%">a string; one of: &rsquo;name&rsquo;, &rsquo;range&rsquo;, &rsquo;nummfs&rsquo;, and &rsquo;mflabels&rsquo;</td></tr>
<tr><td width="20%"><var>mf</var></td><td width="70%">the string &rsquo;mf&rsquo;</td></tr>
<tr><td width="20%"><var>mf_index</var></td><td width="70%">a valid integer index of a membership function</td></tr>
<tr><td width="20%"><var>mf_property</var></td><td width="70%">a string; one of &rsquo;name&rsquo;, &rsquo;type&rsquo;, or &rsquo;params&rsquo;</td></tr>
</table>
 <br>
<p> Note that all of the strings representing properties above are case
 insensitive.
</p>
<p> <strong>See also: </strong>
  <a href="setfis.html">setfis</a>, 
  <a href="showfis.html">showfis</a>
</p>
</div>

        </div>
      </div>
    </div>

  </body>
</html>