summaryrefslogtreecommitdiff
path: root/examples/mamdani/octave
diff options
context:
space:
mode:
authorJohannes Schauer <josch@debian.org>2015-07-07 11:12:00 +0200
committerJohannes Schauer <josch@debian.org>2015-07-07 11:12:00 +0200
commitd210b3addc8ffed7214afd8c7882e700fbcc38c5 (patch)
treeded15607f7f24f83d2d0d7c542265c0a97af577a /examples/mamdani/octave
fuzzylite (5.1+dfsg-1) unstable; urgency=medium
* new upstream version (Closes: #777858) * removed debian/patches/20140705-minor-improvements-on-building-script as upstream integrated it. Adjust build options in d/rules accordingly. * delete debian/patches/20140714-building-from-objects-just-once and debian/patches/20141027-fix-some-spelling as they have been applied upstream * install usr/lib/*/pkgconfig/fuzzylite.pc in fuzzylite-dev * SONAME bump from 5.0 to 5.1, so renaming libfuzzylite5.0 to libfuzzylite5.1 * add debian/patches/pkgconfig_installdir to install pkgconfig file in correct location # imported from the archive
Diffstat (limited to 'examples/mamdani/octave')
-rw-r--r--examples/mamdani/octave/COPYING674
-rw-r--r--examples/mamdani/octave/DESCRIPTION12
-rw-r--r--examples/mamdani/octave/investment_portfolio.cpp52
-rw-r--r--examples/mamdani/octave/investment_portfolio.fcl44
-rw-r--r--examples/mamdani/octave/investment_portfolio.fis39
-rw-r--r--examples/mamdani/octave/investment_portfolio.fld1026
-rw-r--r--examples/mamdani/octave/investment_portfolio.fll31
-rw-r--r--examples/mamdani/octave/investment_portfolio.java62
-rw-r--r--examples/mamdani/octave/mamdani_tip_calculator.cpp66
-rw-r--r--examples/mamdani/octave/mamdani_tip_calculator.fcl55
-rw-r--r--examples/mamdani/octave/mamdani_tip_calculator.fis47
-rw-r--r--examples/mamdani/octave/mamdani_tip_calculator.fld1026
-rw-r--r--examples/mamdani/octave/mamdani_tip_calculator.fll42
-rw-r--r--examples/mamdani/octave/mamdani_tip_calculator.java76
14 files changed, 3252 insertions, 0 deletions
diff --git a/examples/mamdani/octave/COPYING b/examples/mamdani/octave/COPYING
new file mode 100644
index 0000000..94a9ed0
--- /dev/null
+++ b/examples/mamdani/octave/COPYING
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
diff --git a/examples/mamdani/octave/DESCRIPTION b/examples/mamdani/octave/DESCRIPTION
new file mode 100644
index 0000000..35df57d
--- /dev/null
+++ b/examples/mamdani/octave/DESCRIPTION
@@ -0,0 +1,12 @@
+Name: fuzzy-logic-toolkit
+Version: 0.4.2
+Date: 2012-10-02
+Author: L. Markowsky <lmarkov@users.sourceforge.net>
+Maintainer: L. Markowsky <lmarkov@users.sourceforge.net>
+Title: Octave Fuzzy Logic Toolkit
+Description: A mostly MATLAB-compatible fuzzy logic toolkit for Octave.
+Depends: octave (>= 3.2.4)
+Autoload: no
+License: GPLv3+
+Url: http://octave.sf.net
+ http://sf.net/projects/octave-fuzzy
diff --git a/examples/mamdani/octave/investment_portfolio.cpp b/examples/mamdani/octave/investment_portfolio.cpp
new file mode 100644
index 0000000..9ccadc9
--- /dev/null
+++ b/examples/mamdani/octave/investment_portfolio.cpp
@@ -0,0 +1,52 @@
+#include <fl/Headers.h>
+
+int main(int argc, char** argv){
+using namespace fl;
+
+Engine* engine = new Engine;
+engine->setName("Investment-Portfolio");
+
+InputVariable* inputVariable1 = new InputVariable;
+inputVariable1->setEnabled(true);
+inputVariable1->setName("Age");
+inputVariable1->setRange(20.000, 100.000);
+inputVariable1->addTerm(new ZShape("Young", 30.000, 90.000));
+inputVariable1->addTerm(new SShape("Old", 30.000, 90.000));
+engine->addInputVariable(inputVariable1);
+
+InputVariable* inputVariable2 = new InputVariable;
+inputVariable2->setEnabled(true);
+inputVariable2->setName("RiskTolerance");
+inputVariable2->setRange(0.000, 10.000);
+inputVariable2->addTerm(new ZShape("Low", 2.000, 8.000));
+inputVariable2->addTerm(new SShape("High", 2.000, 8.000));
+engine->addInputVariable(inputVariable2);
+
+OutputVariable* outputVariable = new OutputVariable;
+outputVariable->setEnabled(true);
+outputVariable->setName("PercentageInStocks");
+outputVariable->setRange(0.000, 100.000);
+outputVariable->fuzzyOutput()->setAccumulation(new EinsteinSum);
+outputVariable->setDefuzzifier(new Centroid(200));
+outputVariable->setDefaultValue(fl::nan);
+outputVariable->setLockPreviousOutputValue(false);
+outputVariable->setLockOutputValueInRange(false);
+outputVariable->addTerm(new Gaussian("AboutFifteen", 15.000, 10.000));
+outputVariable->addTerm(new Gaussian("AboutFifty", 50.000, 10.000));
+outputVariable->addTerm(new Gaussian("AboutEightyFive", 85.000, 10.000));
+engine->addOutputVariable(outputVariable);
+
+RuleBlock* ruleBlock = new RuleBlock;
+ruleBlock->setEnabled(true);
+ruleBlock->setName("");
+ruleBlock->setConjunction(new EinsteinProduct);
+ruleBlock->setDisjunction(new EinsteinSum);
+ruleBlock->setActivation(new EinsteinProduct);
+ruleBlock->addRule(fl::Rule::parse("if Age is Young or RiskTolerance is High then PercentageInStocks is AboutEightyFive", engine));
+ruleBlock->addRule(fl::Rule::parse("if Age is Old or RiskTolerance is Low then PercentageInStocks is AboutFifteen", engine));
+ruleBlock->addRule(fl::Rule::parse("if Age is not extremely Old and RiskTolerance is not extremely Low then PercentageInStocks is AboutFifty with 0.500", engine));
+ruleBlock->addRule(fl::Rule::parse("if Age is not extremely Young and RiskTolerance is not extremely High then PercentageInStocks is AboutFifty with 0.500", engine));
+engine->addRuleBlock(ruleBlock);
+
+
+}
diff --git a/examples/mamdani/octave/investment_portfolio.fcl b/examples/mamdani/octave/investment_portfolio.fcl
new file mode 100644
index 0000000..590ab3b
--- /dev/null
+++ b/examples/mamdani/octave/investment_portfolio.fcl
@@ -0,0 +1,44 @@
+FUNCTION_BLOCK Investment-Portfolio
+
+VAR_INPUT
+ Age: REAL;
+ RiskTolerance: REAL;
+END_VAR
+
+VAR_OUTPUT
+ PercentageInStocks: REAL;
+END_VAR
+
+FUZZIFY Age
+ RANGE := (20.000 .. 100.000);
+ TERM Young := ZShape 30.000 90.000;
+ TERM Old := SShape 30.000 90.000;
+END_FUZZIFY
+
+FUZZIFY RiskTolerance
+ RANGE := (0.000 .. 10.000);
+ TERM Low := ZShape 2.000 8.000;
+ TERM High := SShape 2.000 8.000;
+END_FUZZIFY
+
+DEFUZZIFY PercentageInStocks
+ RANGE := (0.000 .. 100.000);
+ TERM AboutFifteen := Gaussian 15.000 10.000;
+ TERM AboutFifty := Gaussian 50.000 10.000;
+ TERM AboutEightyFive := Gaussian 85.000 10.000;
+ METHOD : COG;
+ ACCU : ESUM;
+ DEFAULT := nan;
+END_DEFUZZIFY
+
+RULEBLOCK
+ AND : EPROD;
+ OR : ESUM;
+ ACT : EPROD;
+ RULE 1 : if Age is Young or RiskTolerance is High then PercentageInStocks is AboutEightyFive
+ RULE 2 : if Age is Old or RiskTolerance is Low then PercentageInStocks is AboutFifteen
+ RULE 3 : if Age is not extremely Old and RiskTolerance is not extremely Low then PercentageInStocks is AboutFifty with 0.500
+ RULE 4 : if Age is not extremely Young and RiskTolerance is not extremely High then PercentageInStocks is AboutFifty with 0.500
+END_RULEBLOCK
+
+END_FUNCTION_BLOCK
diff --git a/examples/mamdani/octave/investment_portfolio.fis b/examples/mamdani/octave/investment_portfolio.fis
new file mode 100644
index 0000000..311e728
--- /dev/null
+++ b/examples/mamdani/octave/investment_portfolio.fis
@@ -0,0 +1,39 @@
+[System]
+Name='Investment-Portfolio'
+Type='mamdani'
+NumInputs=2
+NumOutputs=1
+NumRules=4
+AndMethod='einstein_product'
+OrMethod='einstein_sum'
+ImpMethod='einstein_product'
+AggMethod='einstein_sum'
+DefuzzMethod='centroid'
+
+[Input1]
+Name='Age'
+Range=[20.000 100.000]
+NumMFs=2
+MF1='Young':'zmf',[30.000 90.000]
+MF2='Old':'smf',[30.000 90.000]
+
+[Input2]
+Name='RiskTolerance'
+Range=[0.000 10.000]
+NumMFs=2
+MF1='Low':'zmf',[2.000 8.000]
+MF2='High':'smf',[2.000 8.000]
+
+[Output1]
+Name='PercentageInStocks'
+Range=[0.000 100.000]
+NumMFs=3
+MF1='AboutFifteen':'gaussmf',[10.000 15.000]
+MF2='AboutFifty':'gaussmf',[10.000 50.000]
+MF3='AboutEightyFive':'gaussmf',[10.000 85.000]
+
+[Rules]
+1.000 2.000 , 3.000 (1.000) : 2
+2.000 1.000 , 1.000 (1.000) : 2
+-2.300 -1.300 , 2.000 (0.500) : 1
+-1.300 -2.300 , 2.000 (0.500) : 1
diff --git a/examples/mamdani/octave/investment_portfolio.fld b/examples/mamdani/octave/investment_portfolio.fld
new file mode 100644
index 0000000..648b0be
--- /dev/null
+++ b/examples/mamdani/octave/investment_portfolio.fld
@@ -0,0 +1,1026 @@
+#@Engine: Investment-Portfolio;
+#@InputVariable: Age; @InputVariable: RiskTolerance; @OutputVariable: PercentageInStocks;
+20.00000000 0.00000000 50.00000000
+20.00000000 0.32258065 50.00000000
+20.00000000 0.64516129 50.00000000
+20.00000000 0.96774194 50.00000000
+20.00000000 1.29032258 50.00000000
+20.00000000 1.61290323 50.00000000
+20.00000000 1.93548387 50.00000000
+20.00000000 2.25806452 50.07664849
+20.00000000 2.58064516 50.39007638
+20.00000000 2.90322581 50.95232681
+20.00000000 3.22580645 51.77492832
+20.00000000 3.54838710 52.87098013
+20.00000000 3.87096774 54.25013613
+20.00000000 4.19354839 55.91006054
+20.00000000 4.51612903 57.82311764
+20.00000000 4.83870968 59.91799668
+20.00000000 5.16129032 62.04316294
+20.00000000 5.48387097 64.00662112
+20.00000000 5.80645161 65.82068208
+20.00000000 6.12903226 67.49497664
+20.00000000 6.45161290 69.01370662
+20.00000000 6.77419355 70.34164582
+20.00000000 7.09677419 71.43161596
+20.00000000 7.41935484 72.23344208
+20.00000000 7.74193548 72.70359583
+20.00000000 8.06451613 72.82131403
+20.00000000 8.38709677 72.82131403
+20.00000000 8.70967742 72.82131403
+20.00000000 9.03225806 72.82131403
+20.00000000 9.35483871 72.82131403
+20.00000000 9.67741935 72.82131403
+20.00000000 10.00000000 72.82131403
+22.58064516 0.00000000 50.00000000
+22.58064516 0.32258065 50.00000000
+22.58064516 0.64516129 50.00000000
+22.58064516 0.96774194 50.00000000
+22.58064516 1.29032258 50.00000000
+22.58064516 1.61290323 50.00000000
+22.58064516 1.93548387 50.00000000
+22.58064516 2.25806452 50.07664849
+22.58064516 2.58064516 50.39007638
+22.58064516 2.90322581 50.95232681
+22.58064516 3.22580645 51.77492832
+22.58064516 3.54838710 52.87098013
+22.58064516 3.87096774 54.25013613
+22.58064516 4.19354839 55.91006054
+22.58064516 4.51612903 57.82311764
+22.58064516 4.83870968 59.91799668
+22.58064516 5.16129032 62.04316294
+22.58064516 5.48387097 64.00662112
+22.58064516 5.80645161 65.82068208
+22.58064516 6.12903226 67.49497664
+22.58064516 6.45161290 69.01370662
+22.58064516 6.77419355 70.34164582
+22.58064516 7.09677419 71.43161596
+22.58064516 7.41935484 72.23344208
+22.58064516 7.74193548 72.70359583
+22.58064516 8.06451613 72.82131403
+22.58064516 8.38709677 72.82131403
+22.58064516 8.70967742 72.82131403
+22.58064516 9.03225806 72.82131403
+22.58064516 9.35483871 72.82131403
+22.58064516 9.67741935 72.82131403
+22.58064516 10.00000000 72.82131403
+25.16129032 0.00000000 50.00000000
+25.16129032 0.32258065 50.00000000
+25.16129032 0.64516129 50.00000000
+25.16129032 0.96774194 50.00000000
+25.16129032 1.29032258 50.00000000
+25.16129032 1.61290323 50.00000000
+25.16129032 1.93548387 50.00000000
+25.16129032 2.25806452 50.07664849
+25.16129032 2.58064516 50.39007638
+25.16129032 2.90322581 50.95232681
+25.16129032 3.22580645 51.77492832
+25.16129032 3.54838710 52.87098013
+25.16129032 3.87096774 54.25013613
+25.16129032 4.19354839 55.91006054
+25.16129032 4.51612903 57.82311764
+25.16129032 4.83870968 59.91799668
+25.16129032 5.16129032 62.04316294
+25.16129032 5.48387097 64.00662112
+25.16129032 5.80645161 65.82068208
+25.16129032 6.12903226 67.49497664
+25.16129032 6.45161290 69.01370662
+25.16129032 6.77419355 70.34164582
+25.16129032 7.09677419 71.43161596
+25.16129032 7.41935484 72.23344208
+25.16129032 7.74193548 72.70359583
+25.16129032 8.06451613 72.82131403
+25.16129032 8.38709677 72.82131403
+25.16129032 8.70967742 72.82131403
+25.16129032 9.03225806 72.82131403
+25.16129032 9.35483871 72.82131403
+25.16129032 9.67741935 72.82131403
+25.16129032 10.00000000 72.82131403
+27.74193548 0.00000000 50.00000000
+27.74193548 0.32258065 50.00000000
+27.74193548 0.64516129 50.00000000
+27.74193548 0.96774194 50.00000000
+27.74193548 1.29032258 50.00000000
+27.74193548 1.61290323 50.00000000
+27.74193548 1.93548387 50.00000000
+27.74193548 2.25806452 50.07664849
+27.74193548 2.58064516 50.39007638
+27.74193548 2.90322581 50.95232681
+27.74193548 3.22580645 51.77492832
+27.74193548 3.54838710 52.87098013
+27.74193548 3.87096774 54.25013613
+27.74193548 4.19354839 55.91006054
+27.74193548 4.51612903 57.82311764
+27.74193548 4.83870968 59.91799668
+27.74193548 5.16129032 62.04316294
+27.74193548 5.48387097 64.00662112
+27.74193548 5.80645161 65.82068208
+27.74193548 6.12903226 67.49497664
+27.74193548 6.45161290 69.01370662
+27.74193548 6.77419355 70.34164582
+27.74193548 7.09677419 71.43161596
+27.74193548 7.41935484 72.23344208
+27.74193548 7.74193548 72.70359583
+27.74193548 8.06451613 72.82131403
+27.74193548 8.38709677 72.82131403
+27.74193548 8.70967742 72.82131403
+27.74193548 9.03225806 72.82131403
+27.74193548 9.35483871 72.82131403
+27.74193548 9.67741935 72.82131403
+27.74193548 10.00000000 72.82131403
+30.32258065 0.00000000 49.99880392
+30.32258065 0.32258065 49.99880392
+30.32258065 0.64516129 49.99880392
+30.32258065 0.96774194 49.99880392
+30.32258065 1.29032258 49.99880392
+30.32258065 1.61290323 49.99880392
+30.32258065 1.93548387 49.99880392
+30.32258065 2.25806452 50.07545238
+30.32258065 2.58064516 50.38887965
+30.32258065 2.90322581 50.95112699
+30.32258065 3.22580645 51.77371992
+30.32258065 3.54838710 52.86975395
+30.32258065 3.87096774 54.24887943
+30.32258065 4.19354839 55.90875847
+30.32258065 4.51612903 57.82175684
+30.32258065 4.83870968 59.91657184
+30.32258065 5.16129032 62.04168233
+30.32258065 5.48387097 64.00508502
+30.32258065 5.80645161 65.81908993
+30.32258065 6.12903226 67.49332917
+30.32258065 6.45161290 69.01200609
+30.32258065 6.77419355 70.33989666
+30.32258065 7.09677419 71.42982533
+30.32258065 7.41935484 72.23162005
+30.32258065 7.74193548 72.70175504
+30.32258065 8.06451613 72.81946849
+30.32258065 8.38709677 72.81946849
+30.32258065 8.70967742 72.81946849
+30.32258065 9.03225806 72.81946849
+30.32258065 9.35483871 72.81946849
+30.32258065 9.67741935 72.81946849
+30.32258065 10.00000000 72.81946849
+32.90322581 0.00000000 49.90295798
+32.90322581 0.32258065 49.90295798
+32.90322581 0.64516129 49.90295798
+32.90322581 0.96774194 49.90295798
+32.90322581 1.29032258 49.90295798
+32.90322581 1.61290323 49.90295798
+32.90322581 1.93548387 49.90295798
+32.90322581 2.25806452 49.97960702
+32.90322581 2.58064516 50.29299482
+32.90322581 2.90322581 50.85501365
+32.90322581 3.22580645 51.67694728
+32.90322581 3.54838710 52.77159622
+32.90322581 3.87096774 54.14832785
+32.90322581 4.19354839 55.80464007
+32.90322581 4.51612903 57.71302139
+32.90322581 4.83870968 59.80281425
+32.90322581 5.16129032 61.92356979
+32.90322581 5.48387097 63.88261418
+32.90322581 5.80645161 65.69219320
+32.90322581 6.12903226 67.36205805
+32.90322581 6.45161290 68.87652195
+32.90322581 6.77419355 70.20054895
+32.90322581 7.09677419 71.28718186
+32.90322581 7.41935484 72.08648082
+32.90322581 7.74193548 72.55512448
+32.90322581 8.06451613 72.67246132
+32.90322581 8.38709677 72.67246132
+32.90322581 8.70967742 72.67246132
+32.90322581 9.03225806 72.67246132
+32.90322581 9.35483871 72.67246132
+32.90322581 9.67741935 72.67246132
+32.90322581 10.00000000 72.67246132
+35.48387097 0.00000000 49.65230424
+35.48387097 0.32258065 49.65230424
+35.48387097 0.64516129 49.65230424
+35.48387097 0.96774194 49.65230424
+35.48387097 1.29032258 49.65230424
+35.48387097 1.61290323 49.65230424
+35.48387097 1.93548387 49.65230424
+35.48387097 2.25806452 49.72897859
+35.48387097 2.58064516 50.04236049
+35.48387097 2.90322581 50.60395669
+35.48387097 3.22580645 51.42442479
+35.48387097 3.54838710 52.51580620
+35.48387097 3.87096774 53.88675089
+35.48387097 4.19354839 55.53436093
+35.48387097 4.51612903 57.43147904
+35.48387097 4.83870968 59.50912954
+35.48387097 5.16129032 61.61952428
+35.48387097 5.48387097 63.56796052
+35.48387097 5.80645161 65.36655988
+35.48387097 6.12903226 67.02542761
+35.48387097 6.45161290 68.52927075
+35.48387097 6.77419355 69.84352090
+35.48387097 7.09677419 70.92180186
+35.48387097 7.41935484 71.71475942
+35.48387097 7.74193548 72.17961322
+35.48387097 8.06451613 72.29599292
+35.48387097 8.38709677 72.29599292
+35.48387097 8.70967742 72.29599292
+35.48387097 9.03225806 72.29599292
+35.48387097 9.35483871 72.29599292
+35.48387097 9.67741935 72.29599292
+35.48387097 10.00000000 72.29599292
+38.06451613 0.00000000 49.24309895
+38.06451613 0.32258065 49.24309895
+38.06451613 0.64516129 49.24309895
+38.06451613 0.96774194 49.24309895
+38.06451613 1.29032258 49.24309895
+38.06451613 1.61290323 49.24309895
+38.06451613 1.93548387 49.24309895
+38.06451613 2.25806452 49.31988482
+38.06451613 2.58064516 49.63354393
+38.06451613 2.90322581 50.19496500
+38.06451613 3.22580645 51.01379991
+38.06451613 3.54838710 52.10088544
+38.06451613 3.87096774 53.46376445
+38.06451613 4.19354839 55.09898884
+38.06451613 4.51612903 56.98007353
+38.06451613 4.83870968 59.04077124
+38.06451613 5.16129032 61.13722688
+38.06451613 5.48387097 63.07064236
+38.06451613 5.80645161 64.85305357
+38.06451613 6.12903226 66.49534778
+38.06451613 6.45161290 67.98296760
+38.06451613 6.77419355 69.28218358
+38.06451613 7.09677419 70.34756047
+38.06451613 7.41935484 71.13072959
+38.06451613 7.74193548 71.58971545
+38.06451613 8.06451613 71.70461300
+38.06451613 8.38709677 71.70461300
+38.06451613 8.70967742 71.70461300
+38.06451613 9.03225806 71.70461300
+38.06451613 9.35483871 71.70461300
+38.06451613 9.67741935 71.70461300
+38.06451613 10.00000000 71.70461300
+40.64516129 0.00000000 48.66974302
+40.64516129 0.32258065 48.66974302
+40.64516129 0.64516129 48.66974302
+40.64516129 0.96774194 48.66974302
+40.64516129 1.29032258 48.66974302
+40.64516129 1.61290323 48.66974302
+40.64516129 1.93548387 48.66974302
+40.64516129 2.25806452 48.74681972
+40.64516129 2.58064516 49.06141626
+40.64516129 2.90322581 49.62357390
+40.64516129 3.22580645 50.44156177
+40.64516129 3.54838710 51.52458831
+40.64516129 3.87096774 52.87875978
+40.64516129 4.19354839 54.50003124
+40.64516129 4.51612903 56.36302984
+40.64516129 4.83870968 58.40529847
+40.64516129 5.16129032 60.48775451
+40.64516129 5.48387097 62.40444567
+40.64516129 5.80645161 64.16746517
+40.64516129 6.12903226 65.78913336
+40.64516129 6.45161290 67.25614371
+40.64516129 6.77419355 68.53604701
+40.64516129 7.09677419 69.58475383
+40.64516129 7.41935484 70.35521241
+40.64516129 7.74193548 70.80658497
+40.64516129 8.06451613 70.91955552
+40.64516129 8.38709677 70.91955552
+40.64516129 8.70967742 70.91955552
+40.64516129 9.03225806 70.91955552
+40.64516129 9.35483871 70.91955552
+40.64516129 9.67741935 70.91955552
+40.64516129 10.00000000 70.91955552
+43.22580645 0.00000000 47.92553362
+43.22580645 0.32258065 47.92553362
+43.22580645 0.64516129 47.92553362
+43.22580645 0.96774194 47.92553362
+43.22580645 1.29032258 47.92553362
+43.22580645 1.61290323 47.92553362
+43.22580645 1.93548387 47.92553362
+43.22580645 2.25806452 48.00319612
+43.22580645 2.58064516 48.31985647
+43.22580645 2.90322581 48.88447571
+43.22580645 3.22580645 49.70355442
+43.22580645 3.54838710 50.78426142
+43.22580645 3.87096774 52.13099528
+43.22580645 4.19354839 53.73918510
+43.22580645 4.51612903 55.58515207
+43.22580645 4.83870968 57.61132963
+43.22580645 5.16129032 59.68382184
+43.22580645 5.48387097 61.58536931
+43.22580645 5.80645161 63.32828142
+43.22580645 6.12903226 64.92718203
+43.22580645 6.45161290 66.37069947
+43.22580645 6.77419355 67.62820397
+43.22580645 7.09677419 68.65739074
+43.22580645 7.41935484 69.41289095
+43.22580645 7.74193548 69.85526918
+43.22580645 8.06451613 69.96596156
+43.22580645 8.38709677 69.96596156
+43.22580645 8.70967742 69.96596156
+43.22580645 9.03225806 69.96596156
+43.22580645 9.35483871 69.96596156
+43.22580645 9.67741935 69.96596156
+43.22580645 10.00000000 69.96596156
+45.80645161 0.00000000 47.00393487
+45.80645161 0.32258065 47.00393487
+45.80645161 0.64516129 47.00393487
+45.80645161 0.96774194 47.00393487
+45.80645161 1.29032258 47.00393487
+45.80645161 1.61290323 47.00393487
+45.80645161 1.93548387 47.00393487
+45.80645161 2.25806452 47.08260248
+45.80645161 2.58064516 47.40295027
+45.80645161 2.90322581 47.97260761
+45.80645161 3.22580645 48.79588816
+45.80645161 3.54838710 49.87749533
+45.80645161 3.87096774 51.21988342
+45.80645161 4.19354839 52.81813027
+45.80645161 4.51612903 54.65098576
+45.80645161 4.83870968 56.66698079
+45.80645161 5.16129032 58.73758982
+45.80645161 5.48387097 60.62911442
+45.80645161 5.80645161 62.35401414
+45.80645161 6.12903226 63.93019461
+45.80645161 6.45161290 65.34904000
+45.80645161 6.77419355 66.58237935
+45.80645161 7.09677419 67.59018730
+45.80645161 7.41935484 68.32916295
+45.80645161 7.74193548 68.76155861
+45.80645161 8.06451613 68.86971710
+45.80645161 8.38709677 68.86971710
+45.80645161 8.70967742 68.86971710
+45.80645161 9.03225806 68.86971710
+45.80645161 9.35483871 68.86971710
+45.80645161 9.67741935 68.86971710
+45.80645161 10.00000000 68.86971710
+48.38709677 0.00000000 45.90059861
+48.38709677 0.32258065 45.90059861
+48.38709677 0.64516129 45.90059861
+48.38709677 0.96774194 45.90059861
+48.38709677 1.29032258 45.90059861
+48.38709677 1.61290323 45.90059861
+48.38709677 1.93548387 45.90059861
+48.38709677 2.25806452 45.98080335
+48.38709677 2.58064516 46.30690509
+48.38709677 2.90322581 46.88490696
+48.38709677 3.22580645 47.71644736
+48.38709677 3.54838710 48.80327906
+48.38709677 3.87096774 50.14566326
+48.38709677 4.19354839 51.73856779
+48.38709677 4.51612903 53.56406480
+48.38709677 4.83870968 55.57822661
+48.38709677 5.16129032 57.65828336
+48.38709677 5.48387097 59.54837018
+48.38709677 5.80645161 61.26036274
+48.38709677 6.12903226 62.81628542
+48.38709677 6.45161290 64.21114285
+48.38709677 6.77419355 65.41994481
+48.38709677 7.09677419 66.40551444
+48.38709677 7.41935484 67.12705985
+48.38709677 7.74193548 67.54884508
+48.38709677 8.06451613 67.65430104
+48.38709677 8.38709677 67.65430104
+48.38709677 8.70967742 67.65430104
+48.38709677 9.03225806 67.65430104
+48.38709677 9.35483871 67.65430104
+48.38709677 9.67741935 67.65430104
+48.38709677 10.00000000 67.65430104
+50.96774194 0.00000000 44.61641577
+50.96774194 0.32258065 44.61641577
+50.96774194 0.64516129 44.61641577
+50.96774194 0.96774194 44.61641577
+50.96774194 1.29032258 44.61641577
+50.96774194 1.61290323 44.61641577
+50.96774194 1.93548387 44.61641577
+50.96774194 2.25806452 44.69876030
+50.96774194 2.58064516 45.03294688
+50.96774194 2.90322581 45.62298535
+50.96774194 3.22580645 46.46723847
+50.96774194 3.54838710 47.56391012
+50.96774194 3.87096774 48.91074345
+50.96774194 4.19354839 50.50284021
+50.96774194 4.51612903 52.32663397
+50.96774194 4.83870968 54.34758826
+50.96774194 5.16129032 56.44995468
+50.96774194 5.48387097 58.35016147
+50.96774194 5.80645161 60.05744033
+50.96774194 6.12903226 61.59819880
+50.96774194 6.45161290 62.97178502
+50.96774194 6.77419355 64.15714114
+50.96774194 7.09677419 65.12059667
+50.96774194 7.41935484 65.82440942
+50.96774194 7.74193548 66.23526465
+50.96774194 8.06451613 66.33792129
+50.96774194 8.38709677 66.33792129
+50.96774194 8.70967742 66.33792129
+50.96774194 9.03225806 66.33792129
+50.96774194 9.35483871 66.33792129
+50.96774194 9.67741935 66.33792129
+50.96774194 10.00000000 66.33792129
+53.54838710 0.00000000 43.16186397
+53.54838710 0.32258065 43.16186397
+53.54838710 0.64516129 43.16186397
+53.54838710 0.96774194 43.16186397
+53.54838710 1.29032258 43.16186397
+53.54838710 1.61290323 43.16186397
+53.54838710 1.93548387 43.16186397
+53.54838710 2.25806452 43.24693567
+53.54838710 2.58064516 43.59144915
+53.54838710 2.90322581 44.19696211
+53.54838710 3.22580645 45.05782673
+53.54838710 3.54838710 46.16794938
+53.54838710 3.87096774 47.52208653
+53.54838710 4.19354839 49.11561738
+53.54838710 4.51612903 50.94043496
+53.54838710 4.83870968 52.97375509
+53.54838710 5.16129032 55.10984868
+53.54838710 5.48387097 57.03353782
+53.54838710 5.80645161 58.74723142
+53.54838710 6.12903226 60.28074724
+53.54838710 6.45161290 61.63802885
+53.54838710 6.77419355 62.80260996
+53.54838710 7.09677419 63.74506644
+53.54838710 7.41935484 64.43139325
+53.54838710 7.74193548 64.83124074
+53.54838710 8.06451613 64.93106623
+53.54838710 8.38709677 64.93106623
+53.54838710 8.70967742 64.93106623
+53.54838710 9.03225806 64.93106623
+53.54838710 9.35483871 64.93106623
+53.54838710 9.67741935 64.93106623
+53.54838710 10.00000000 64.93106623
+56.12903226 0.00000000 41.56275742
+56.12903226 0.32258065 41.56275742
+56.12903226 0.64516129 41.56275742
+56.12903226 0.96774194 41.56275742
+56.12903226 1.29032258 41.56275742
+56.12903226 1.61290323 41.56275742
+56.12903226 1.93548387 41.56275742
+56.12903226 2.25806452 41.65098310
+56.12903226 2.58064516 42.00739488
+56.12903226 2.90322581 42.63056788
+56.12903226 3.22580645 43.51001484
+56.12903226 3.54838710 44.63446668
+56.12903226 3.87096774 45.99502950
+56.12903226 4.19354839 47.58723244
+56.12903226 4.51612903 49.40932005
+56.12903226 4.83870968 51.45296580
+56.12903226 5.16129032 53.62799552
+56.12903226 5.48387097 55.58793124
+56.12903226 5.80645161 57.32139748
+56.12903226 6.12903226 58.85847793
+56.12903226 6.45161290 60.20693213
+56.12903226 6.77419355 61.35519439
+56.12903226 7.09677419 62.27884289
+56.12903226 7.41935484 62.94847543
+56.12903226 7.74193548 63.33747330
+56.12903226 8.06451613 63.43446352
+56.12903226 8.38709677 63.43446352
+56.12903226 8.70967742 63.43446352
+56.12903226 9.03225806 63.43446352
+56.12903226 9.35483871 63.43446352
+56.12903226 9.67741935 63.43446352
+56.12903226 10.00000000 63.43446352
+58.70967742 0.00000000 39.86708229
+58.70967742 0.32258065 39.86708229
+58.70967742 0.64516129 39.86708229
+58.70967742 0.96774194 39.86708229
+58.70967742 1.29032258 39.86708229
+58.70967742 1.61290323 39.86708229
+58.70967742 1.93548387 39.86708229
+58.70967742 2.25806452 39.95851324
+58.70967742 2.58064516 40.32688461
+58.70967742 2.90322581 40.96728935
+58.70967742 3.22580645 41.86364269
+58.70967742 3.54838710 42.99862876
+58.70967742 3.87096774 44.35883597
+58.70967742 4.19354839 45.93926995
+58.70967742 4.51612903 47.74461410
+58.70967742 4.83870968 49.78326881
+58.70967742 5.16129032 51.98897073
+58.70967742 5.48387097 53.99267848
+58.70967742 5.80645161 55.75955980
+58.70967742 6.12903226 57.31349232
+58.70967742 6.45161290 58.66332782
+58.70967742 6.77419355 59.80184437
+58.70967742 7.09677419 60.71018916
+58.70967742 7.41935484 61.36458028
+58.70967742 7.74193548 61.74313870
+58.70967742 8.06451613 61.83734579
+58.70967742 8.38709677 61.83734579
+58.70967742 8.70967742 61.83734579
+58.70967742 9.03225806 61.83734579
+58.70967742 9.35483871 61.83734579
+58.70967742 9.67741935 61.83734579
+58.70967742 10.00000000 61.83734579
+61.29032258 0.00000000 38.16265421
+61.29032258 0.32258065 38.16265421
+61.29032258 0.64516129 38.16265421
+61.29032258 0.96774194 38.16265421
+61.29032258 1.29032258 38.16265421
+61.29032258 1.61290323 38.16265421
+61.29032258 1.93548387 38.16265421
+61.29032258 2.25806452 38.25686130
+61.29032258 2.58064516 38.63541972
+61.29032258 2.90322581 39.28981084
+61.29032258 3.22580645 40.19815563
+61.29032258 3.54838710 41.33667218
+61.29032258 3.87096774 42.68650768
+61.29032258 4.19354839 44.24044020
+61.29032258 4.51612903 46.00732152
+61.29032258 4.83870968 48.01102927
+61.29032258 5.16129032 50.21673119
+61.29032258 5.48387097 52.25538590
+61.29032258 5.80645161 54.06073005
+61.29032258 6.12903226 55.64116403
+61.29032258 6.45161290 57.00137124
+61.29032258 6.77419355 58.13635731
+61.29032258 7.09677419 59.03271065
+61.29032258 7.41935484 59.67311539
+61.29032258 7.74193548 60.04148676
+61.29032258 8.06451613 60.13291771
+61.29032258 8.38709677 60.13291771
+61.29032258 8.70967742 60.13291771
+61.29032258 9.03225806 60.13291771
+61.29032258 9.35483871 60.13291771
+61.29032258 9.67741935 60.13291771
+61.29032258 10.00000000 60.13291771
+63.87096774 0.00000000 36.56553648
+63.87096774 0.32258065 36.56553648
+63.87096774 0.64516129 36.56553648
+63.87096774 0.96774194 36.56553648
+63.87096774 1.29032258 36.56553648
+63.87096774 1.61290323 36.56553648
+63.87096774 1.93548387 36.56553648
+63.87096774 2.25806452 36.66252670
+63.87096774 2.58064516 37.05152457
+63.87096774 2.90322581 37.72115711
+63.87096774 3.22580645 38.64480561
+63.87096774 3.54838710 39.79306787
+63.87096774 3.87096774 41.14152207
+63.87096774 4.19354839 42.67860252
+63.87096774 4.51612903 44.41206876
+63.87096774 4.83870968 46.37200448
+63.87096774 5.16129032 48.54703420
+63.87096774 5.48387097 50.59067995
+63.87096774 5.80645161 52.41276756
+63.87096774 6.12903226 54.00497050
+63.87096774 6.45161290 55.36553332
+63.87096774 6.77419355 56.48998516
+63.87096774 7.09677419 57.36943212
+63.87096774 7.41935484 57.99260512
+63.87096774 7.74193548 58.34901690
+63.87096774 8.06451613 58.43724258
+63.87096774 8.38709677 58.43724258
+63.87096774 8.70967742 58.43724258
+63.87096774 9.03225806 58.43724258
+63.87096774 9.35483871 58.43724258
+63.87096774 9.67741935 58.43724258
+63.87096774 10.00000000 58.43724258
+66.45161290 0.00000000 35.06893377
+66.45161290 0.32258065 35.06893377
+66.45161290 0.64516129 35.06893377
+66.45161290 0.96774194 35.06893377
+66.45161290 1.29032258 35.06893377
+66.45161290 1.61290323 35.06893377
+66.45161290 1.93548387 35.06893377
+66.45161290 2.25806452 35.16875926
+66.45161290 2.58064516 35.56860675
+66.45161290 2.90322581 36.25493356
+66.45161290 3.22580645 37.19739004
+66.45161290 3.54838710 38.36197115
+66.45161290 3.87096774 39.71925276
+66.45161290 4.19354839 41.25276858
+66.45161290 4.51612903 42.96646218
+66.45161290 4.83870968 44.89015132
+66.45161290 5.16129032 47.02624491
+66.45161290 5.48387097 49.05956504
+66.45161290 5.80645161 50.88438262
+66.45161290 6.12903226 52.47791347
+66.45161290 6.45161290 53.83205062
+66.45161290 6.77419355 54.94217327
+66.45161290 7.09677419 55.80303789
+66.45161290 7.41935484 56.40855085
+66.45161290 7.74193548 56.75306433
+66.45161290 8.06451613 56.83813603
+66.45161290 8.38709677 56.83813603
+66.45161290 8.70967742 56.83813603
+66.45161290 9.03225806 56.83813603
+66.45161290 9.35483871 56.83813603
+66.45161290 9.67741935 56.83813603
+66.45161290 10.00000000 56.83813603
+69.03225806 0.00000000 33.66207871
+69.03225806 0.32258065 33.66207871
+69.03225806 0.64516129 33.66207871
+69.03225806 0.96774194 33.66207871
+69.03225806 1.29032258 33.66207871
+69.03225806 1.61290323 33.66207871
+69.03225806 1.93548387 33.66207871
+69.03225806 2.25806452 33.76473535
+69.03225806 2.58064516 34.17559058
+69.03225806 2.90322581 34.87940333
+69.03225806 3.22580645 35.84285886
+69.03225806 3.54838710 37.02821498
+69.03225806 3.87096774 38.40180120
+69.03225806 4.19354839 39.94255967
+69.03225806 4.51612903 41.64983853
+69.03225806 4.83870968 43.55004532
+69.03225806 5.16129032 45.65241174
+69.03225806 5.48387097 47.67336603
+69.03225806 5.80645161 49.49715979
+69.03225806 6.12903226 51.08925655
+69.03225806 6.45161290 52.43608988
+69.03225806 6.77419355 53.53276153
+69.03225806 7.09677419 54.37701465
+69.03225806 7.41935484 54.96705312
+69.03225806 7.74193548 55.30123970
+69.03225806 8.06451613 55.38358423
+69.03225806 8.38709677 55.38358423
+69.03225806 8.70967742 55.38358423
+69.03225806 9.03225806 55.38358423
+69.03225806 9.35483871 55.38358423
+69.03225806 9.67741935 55.38358423
+69.03225806 10.00000000 55.38358423
+71.61290323 0.00000000 32.34569896
+71.61290323 0.32258065 32.34569896
+71.61290323 0.64516129 32.34569896
+71.61290323 0.96774194 32.34569896
+71.61290323 1.29032258 32.34569896
+71.61290323 1.61290323 32.34569896
+71.61290323 1.93548387 32.34569896
+71.61290323 2.25806452 32.45115492
+71.61290323 2.58064516 32.87294015
+71.61290323 2.90322581 33.59448556
+71.61290323 3.22580645 34.58005519
+71.61290323 3.54838710 35.78885715
+71.61290323 3.87096774 37.18371458
+71.61290323 4.19354839 38.73963726
+71.61290323 4.51612903 40.45162982
+71.61290323 4.83870968 42.34171664
+71.61290323 5.16129032 44.42177339
+71.61290323 5.48387097 46.43593520
+71.61290323 5.80645161 48.26143221
+71.61290323 6.12903226 49.85433674
+71.61290323 6.45161290 51.19672094
+71.61290323 6.77419355 52.28355264
+71.61290323 7.09677419 53.11509304
+71.61290323 7.41935484 53.69309491
+71.61290323 7.74193548 54.01919665
+71.61290323 8.06451613 54.09940139
+71.61290323 8.38709677 54.09940139
+71.61290323 8.70967742 54.09940139
+71.61290323 9.03225806 54.09940139
+71.61290323 9.35483871 54.09940139
+71.61290323 9.67741935 54.09940139
+71.61290323 10.00000000 54.09940139
+74.19354839 0.00000000 31.13028290
+74.19354839 0.32258065 31.13028290
+74.19354839 0.64516129 31.13028290
+74.19354839 0.96774194 31.13028290
+74.19354839 1.29032258 31.13028290
+74.19354839 1.61290323 31.13028290
+74.19354839 1.93548387 31.13028290
+74.19354839 2.25806452 31.23844139
+74.19354839 2.58064516 31.67083705
+74.19354839 2.90322581 32.40981270
+74.19354839 3.22580645 33.41762065
+74.19354839 3.54838710 34.65096000
+74.19354839 3.87096774 36.06980539
+74.19354839 4.19354839 37.64598586
+74.19354839 4.51612903 39.37088558
+74.19354839 4.83870968 41.26241018
+74.19354839 5.16129032 43.33301921
+74.19354839 5.48387097 45.34901424
+74.19354839 5.80645161 47.18186973
+74.19354839 6.12903226 48.78011658
+74.19354839 6.45161290 50.12250467
+74.19354839 6.77419355 51.20411184
+74.19354839 7.09677419 52.02739239
+74.19354839 7.41935484 52.59704973
+74.19354839 7.74193548 52.91739752
+74.19354839 8.06451613 52.99606513
+74.19354839 8.38709677 52.99606513
+74.19354839 8.70967742 52.99606513
+74.19354839 9.03225806 52.99606513
+74.19354839 9.35483871 52.99606513
+74.19354839 9.67741935 52.99606513
+74.19354839 10.00000000 52.99606513
+76.77419355 0.00000000 30.03403844
+76.77419355 0.32258065 30.03403844
+76.77419355 0.64516129 30.03403844
+76.77419355 0.96774194 30.03403844
+76.77419355 1.29032258 30.03403844
+76.77419355 1.61290323 30.03403844
+76.77419355 1.93548387 30.03403844
+76.77419355 2.25806452 30.14473082
+76.77419355 2.58064516 30.58710905
+76.77419355 2.90322581 31.34260926
+76.77419355 3.22580645 32.37179603
+76.77419355 3.54838710 33.62930053
+76.77419355 3.87096774 35.07281797
+76.77419355 4.19354839 36.67171858
+76.77419355 4.51612903 38.41463069
+76.77419355 4.83870968 40.31617816
+76.77419355 5.16129032 42.38867037
+76.77419355 5.48387097 44.41484793
+76.77419355 5.80645161 46.26081490
+76.77419355 6.12903226 47.86900472
+76.77419355 6.45161290 49.21573858
+76.77419355 6.77419355 50.29644558
+76.77419355 7.09677419 51.11552429
+76.77419355 7.41935484 51.68014353
+76.77419355 7.74193548 51.99680388
+76.77419355 8.06451613 52.07446638
+76.77419355 8.38709677 52.07446638
+76.77419355 8.70967742 52.07446638
+76.77419355 9.03225806 52.07446638
+76.77419355 9.35483871 52.07446638
+76.77419355 9.67741935 52.07446638
+76.77419355 10.00000000 52.07446638
+79.35483871 0.00000000 29.08044448
+79.35483871 0.32258065 29.08044448
+79.35483871 0.64516129 29.08044448
+79.35483871 0.96774194 29.08044448
+79.35483871 1.29032258 29.08044448
+79.35483871 1.61290323 29.08044448
+79.35483871 1.93548387 29.08044448
+79.35483871 2.25806452 29.19341503
+79.35483871 2.58064516 29.64478759
+79.35483871 2.90322581 30.41524617
+79.35483871 3.22580645 31.46395299
+79.35483871 3.54838710 32.74385629
+79.35483871 3.87096774 34.21086664
+79.35483871 4.19354839 35.83253483
+79.35483871 4.51612903 37.59555433
+79.35483871 4.83870968 39.51224549
+79.35483871 5.16129032 41.59470153
+79.35483871 5.48387097 43.63697016
+79.35483871 5.80645161 45.49996876
+79.35483871 6.12903226 47.12124022
+79.35483871 6.45161290 48.47541169
+79.35483871 6.77419355 49.55843823
+79.35483871 7.09677419 50.37642610
+79.35483871 7.41935484 50.93858374
+79.35483871 7.74193548 51.25318028
+79.35483871 8.06451613 51.33025698
+79.35483871 8.38709677 51.33025698
+79.35483871 8.70967742 51.33025698
+79.35483871 9.03225806 51.33025698
+79.35483871 9.35483871 51.33025698
+79.35483871 9.67741935 51.33025698
+79.35483871 10.00000000 51.33025698
+81.93548387 0.00000000 28.29538700
+81.93548387 0.32258065 28.29538700
+81.93548387 0.64516129 28.29538700
+81.93548387 0.96774194 28.29538700
+81.93548387 1.29032258 28.29538700
+81.93548387 1.61290323 28.29538700
+81.93548387 1.93548387 28.29538700
+81.93548387 2.25806452 28.41028455
+81.93548387 2.58064516 28.86927041
+81.93548387 2.90322581 29.65243953
+81.93548387 3.22580645 30.71781642
+81.93548387 3.54838710 32.01703240
+81.93548387 3.87096774 33.50465222
+81.93548387 4.19354839 35.14694643
+81.93548387 4.51612903 36.92935764
+81.93548387 4.83870968 38.86277312
+81.93548387 5.16129032 40.95922876
+81.93548387 5.48387097 43.01992647
+81.93548387 5.80645161 44.90101116
+81.93548387 6.12903226 46.53623555
+81.93548387 6.45161290 47.89911456
+81.93548387 6.77419355 48.98620009
+81.93548387 7.09677419 49.80503500
+81.93548387 7.41935484 50.36645607
+81.93548387 7.74193548 50.68011518
+81.93548387 8.06451613 50.75690105
+81.93548387 8.38709677 50.75690105
+81.93548387 8.70967742 50.75690105
+81.93548387 9.03225806 50.75690105
+81.93548387 9.35483871 50.75690105
+81.93548387 9.67741935 50.75690105
+81.93548387 10.00000000 50.75690105
+84.51612903 0.00000000 27.70400708
+84.51612903 0.32258065 27.70400708
+84.51612903 0.64516129 27.70400708
+84.51612903 0.96774194 27.70400708
+84.51612903 1.29032258 27.70400708
+84.51612903 1.61290323 27.70400708
+84.51612903 1.93548387 27.70400708
+84.51612903 2.25806452 27.82038678
+84.51612903 2.58064516 28.28524058
+84.51612903 2.90322581 29.07819814
+84.51612903 3.22580645 30.15647910
+84.51612903 3.54838710 31.47072925
+84.51612903 3.87096774 32.97457239
+84.51612903 4.19354839 34.63344012
+84.51612903 4.51612903 36.43203948
+84.51612903 4.83870968 38.38047572
+84.51612903 5.16129032 40.49087046
+84.51612903 5.48387097 42.56852096
+84.51612903 5.80645161 44.46563907
+84.51612903 6.12903226 46.11324911
+84.51612903 6.45161290 47.48419380
+84.51612903 6.77419355 48.57557521
+84.51612903 7.09677419 49.39604331
+84.51612903 7.41935484 49.95763951
+84.51612903 7.74193548 50.27102141
+84.51612903 8.06451613 50.34769576
+84.51612903 8.38709677 50.34769576
+84.51612903 8.70967742 50.34769576
+84.51612903 9.03225806 50.34769576
+84.51612903 9.35483871 50.34769576
+84.51612903 9.67741935 50.34769576
+84.51612903 10.00000000 50.34769576
+87.09677419 0.00000000 27.32753868
+87.09677419 0.32258065 27.32753868
+87.09677419 0.64516129 27.32753868
+87.09677419 0.96774194 27.32753868
+87.09677419 1.29032258 27.32753868
+87.09677419 1.61290323 27.32753868
+87.09677419 1.93548387 27.32753868
+87.09677419 2.25806452 27.44487552
+87.09677419 2.58064516 27.91351918
+87.09677419 2.90322581 28.71281814
+87.09677419 3.22580645 29.79945105
+87.09677419 3.54838710 31.12347805
+87.09677419 3.87096774 32.63794195
+87.09677419 4.19354839 34.30780680
+87.09677419 4.51612903 36.11738582
+87.09677419 4.83870968 38.07643021
+87.09677419 5.16129032 40.19718575
+87.09677419 5.48387097 42.28697861
+87.09677419 5.80645161 44.19535993
+87.09677419 6.12903226 45.85167215
+87.09677419 6.45161290 47.22840378
+87.09677419 6.77419355 48.32305272
+87.09677419 7.09677419 49.14498635
+87.09677419 7.41935484 49.70700518
+87.09677419 7.74193548 50.02039298
+87.09677419 8.06451613 50.09704202
+87.09677419 8.38709677 50.09704202
+87.09677419 8.70967742 50.09704202
+87.09677419 9.03225806 50.09704202
+87.09677419 9.35483871 50.09704202
+87.09677419 9.67741935 50.09704202
+87.09677419 10.00000000 50.09704202
+89.67741935 0.00000000 27.18053151
+89.67741935 0.32258065 27.18053151
+89.67741935 0.64516129 27.18053151
+89.67741935 0.96774194 27.18053151
+89.67741935 1.29032258 27.18053151
+89.67741935 1.61290323 27.18053151
+89.67741935 1.93548387 27.18053151
+89.67741935 2.25806452 27.29824496
+89.67741935 2.58064516 27.76837995
+89.67741935 2.90322581 28.57017467
+89.67741935 3.22580645 29.66010334
+89.67741935 3.54838710 30.98799391
+89.67741935 3.87096774 32.50667083
+89.67741935 4.19354839 34.18091007
+89.67741935 4.51612903 35.99491498
+89.67741935 4.83870968 37.95831767
+89.67741935 5.16129032 40.08342816
+89.67741935 5.48387097 42.17824316
+89.67741935 5.80645161 44.09124153
+89.67741935 6.12903226 45.75112057
+89.67741935 6.45161290 47.13024605
+89.67741935 6.77419355 48.22628008
+89.67741935 7.09677419 49.04887301
+89.67741935 7.41935484 49.61112035
+89.67741935 7.74193548 49.92454762
+89.67741935 8.06451613 50.00119608
+89.67741935 8.38709677 50.00119608
+89.67741935 8.70967742 50.00119608
+89.67741935 9.03225806 50.00119608
+89.67741935 9.35483871 50.00119608
+89.67741935 9.67741935 50.00119608
+89.67741935 10.00000000 50.00119608
+92.25806452 0.00000000 27.17868597
+92.25806452 0.32258065 27.17868597
+92.25806452 0.64516129 27.17868597
+92.25806452 0.96774194 27.17868597
+92.25806452 1.29032258 27.17868597
+92.25806452 1.61290323 27.17868597
+92.25806452 1.93548387 27.17868597
+92.25806452 2.25806452 27.29640417
+92.25806452 2.58064516 27.76655792
+92.25806452 2.90322581 28.56838404
+92.25806452 3.22580645 29.65835418
+92.25806452 3.54838710 30.98629338
+92.25806452 3.87096774 32.50502336
+92.25806452 4.19354839 34.17931792
+92.25806452 4.51612903 35.99337888
+92.25806452 4.83870968 37.95683706
+92.25806452 5.16129032 40.08200332
+92.25806452 5.48387097 42.17688236
+92.25806452 5.80645161 44.08993946
+92.25806452 6.12903226 45.74986387
+92.25806452 6.45161290 47.12901987
+92.25806452 6.77419355 48.22507168
+92.25806452 7.09677419 49.04767319
+92.25806452 7.41935484 49.60992362
+92.25806452 7.74193548 49.92335151
+92.25806452 8.06451613 50.00000000
+92.25806452 8.38709677 50.00000000
+92.25806452 8.70967742 50.00000000
+92.25806452 9.03225806 50.00000000
+92.25806452 9.35483871 50.00000000
+92.25806452 9.67741935 50.00000000
+92.25806452 10.00000000 50.00000000
+94.83870968 0.00000000 27.17868597
+94.83870968 0.32258065 27.17868597
+94.83870968 0.64516129 27.17868597
+94.83870968 0.96774194 27.17868597
+94.83870968 1.29032258 27.17868597
+94.83870968 1.61290323 27.17868597
+94.83870968 1.93548387 27.17868597
+94.83870968 2.25806452 27.29640417
+94.83870968 2.58064516 27.76655792
+94.83870968 2.90322581 28.56838404
+94.83870968 3.22580645 29.65835418
+94.83870968 3.54838710 30.98629338
+94.83870968 3.87096774 32.50502336
+94.83870968 4.19354839 34.17931792
+94.83870968 4.51612903 35.99337888
+94.83870968 4.83870968 37.95683706
+94.83870968 5.16129032 40.08200332
+94.83870968 5.48387097 42.17688236
+94.83870968 5.80645161 44.08993946
+94.83870968 6.12903226 45.74986387
+94.83870968 6.45161290 47.12901987
+94.83870968 6.77419355 48.22507168
+94.83870968 7.09677419 49.04767319
+94.83870968 7.41935484 49.60992362
+94.83870968 7.74193548 49.92335151
+94.83870968 8.06451613 50.00000000
+94.83870968 8.38709677 50.00000000
+94.83870968 8.70967742 50.00000000
+94.83870968 9.03225806 50.00000000
+94.83870968 9.35483871 50.00000000
+94.83870968 9.67741935 50.00000000
+94.83870968 10.00000000 50.00000000
+97.41935484 0.00000000 27.17868597
+97.41935484 0.32258065 27.17868597
+97.41935484 0.64516129 27.17868597
+97.41935484 0.96774194 27.17868597
+97.41935484 1.29032258 27.17868597
+97.41935484 1.61290323 27.17868597
+97.41935484 1.93548387 27.17868597
+97.41935484 2.25806452 27.29640417
+97.41935484 2.58064516 27.76655792
+97.41935484 2.90322581 28.56838404
+97.41935484 3.22580645 29.65835418
+97.41935484 3.54838710 30.98629338
+97.41935484 3.87096774 32.50502336
+97.41935484 4.19354839 34.17931792
+97.41935484 4.51612903 35.99337888
+97.41935484 4.83870968 37.95683706
+97.41935484 5.16129032 40.08200332
+97.41935484 5.48387097 42.17688236
+97.41935484 5.80645161 44.08993946
+97.41935484 6.12903226 45.74986387
+97.41935484 6.45161290 47.12901987
+97.41935484 6.77419355 48.22507168
+97.41935484 7.09677419 49.04767319
+97.41935484 7.41935484 49.60992362
+97.41935484 7.74193548 49.92335151
+97.41935484 8.06451613 50.00000000
+97.41935484 8.38709677 50.00000000
+97.41935484 8.70967742 50.00000000
+97.41935484 9.03225806 50.00000000
+97.41935484 9.35483871 50.00000000
+97.41935484 9.67741935 50.00000000
+97.41935484 10.00000000 50.00000000
+100.00000000 0.00000000 27.17868597
+100.00000000 0.32258065 27.17868597
+100.00000000 0.64516129 27.17868597
+100.00000000 0.96774194 27.17868597
+100.00000000 1.29032258 27.17868597
+100.00000000 1.61290323 27.17868597
+100.00000000 1.93548387 27.17868597
+100.00000000 2.25806452 27.29640417
+100.00000000 2.58064516 27.76655792
+100.00000000 2.90322581 28.56838404
+100.00000000 3.22580645 29.65835418
+100.00000000 3.54838710 30.98629338
+100.00000000 3.87096774 32.50502336
+100.00000000 4.19354839 34.17931792
+100.00000000 4.51612903 35.99337888
+100.00000000 4.83870968 37.95683706
+100.00000000 5.16129032 40.08200332
+100.00000000 5.48387097 42.17688236
+100.00000000 5.80645161 44.08993946
+100.00000000 6.12903226 45.74986387
+100.00000000 6.45161290 47.12901987
+100.00000000 6.77419355 48.22507168
+100.00000000 7.09677419 49.04767319
+100.00000000 7.41935484 49.60992362
+100.00000000 7.74193548 49.92335151
+100.00000000 8.06451613 50.00000000
+100.00000000 8.38709677 50.00000000
+100.00000000 8.70967742 50.00000000
+100.00000000 9.03225806 50.00000000
+100.00000000 9.35483871 50.00000000
+100.00000000 9.67741935 50.00000000
+100.00000000 10.00000000 50.00000000
diff --git a/examples/mamdani/octave/investment_portfolio.fll b/examples/mamdani/octave/investment_portfolio.fll
new file mode 100644
index 0000000..4bb14e1
--- /dev/null
+++ b/examples/mamdani/octave/investment_portfolio.fll
@@ -0,0 +1,31 @@
+Engine: Investment-Portfolio
+InputVariable: Age
+ enabled: true
+ range: 20.000 100.000
+ term: Young ZShape 30.000 90.000
+ term: Old SShape 30.000 90.000
+InputVariable: RiskTolerance
+ enabled: true
+ range: 0.000 10.000
+ term: Low ZShape 2.000 8.000
+ term: High SShape 2.000 8.000
+OutputVariable: PercentageInStocks
+ enabled: true
+ range: 0.000 100.000
+ accumulation: EinsteinSum
+ defuzzifier: Centroid 200
+ default: nan
+ lock-previous: false
+ lock-range: false
+ term: AboutFifteen Gaussian 15.000 10.000
+ term: AboutFifty Gaussian 50.000 10.000
+ term: AboutEightyFive Gaussian 85.000 10.000
+RuleBlock:
+ enabled: true
+ conjunction: EinsteinProduct
+ disjunction: EinsteinSum
+ activation: EinsteinProduct
+ rule: if Age is Young or RiskTolerance is High then PercentageInStocks is AboutEightyFive
+ rule: if Age is Old or RiskTolerance is Low then PercentageInStocks is AboutFifteen
+ rule: if Age is not extremely Old and RiskTolerance is not extremely Low then PercentageInStocks is AboutFifty with 0.500
+ rule: if Age is not extremely Young and RiskTolerance is not extremely High then PercentageInStocks is AboutFifty with 0.500 \ No newline at end of file
diff --git a/examples/mamdani/octave/investment_portfolio.java b/examples/mamdani/octave/investment_portfolio.java
new file mode 100644
index 0000000..09084f1
--- /dev/null
+++ b/examples/mamdani/octave/investment_portfolio.java
@@ -0,0 +1,62 @@
+import com.fuzzylite.*;
+import com.fuzzylite.defuzzifier.*;
+import com.fuzzylite.factory.*;
+import com.fuzzylite.hedge.*;
+import com.fuzzylite.imex.*;
+import com.fuzzylite.norm.*;
+import com.fuzzylite.norm.s.*;
+import com.fuzzylite.norm.t.*;
+import com.fuzzylite.rule.*;
+import com.fuzzylite.term.*;
+import com.fuzzylite.variable.*;
+
+public class investment_portfolio{
+public static void main(String[] args){
+Engine engine = new Engine();
+engine.setName("Investment-Portfolio");
+
+InputVariable inputVariable1 = new InputVariable();
+inputVariable1.setEnabled(true);
+inputVariable1.setName("Age");
+inputVariable1.setRange(20.000, 100.000);
+inputVariable1.addTerm(new ZShape("Young", 30.000, 90.000));
+inputVariable1.addTerm(new SShape("Old", 30.000, 90.000));
+engine.addInputVariable(inputVariable1);
+
+InputVariable inputVariable2 = new InputVariable();
+inputVariable2.setEnabled(true);
+inputVariable2.setName("RiskTolerance");
+inputVariable2.setRange(0.000, 10.000);
+inputVariable2.addTerm(new ZShape("Low", 2.000, 8.000));
+inputVariable2.addTerm(new SShape("High", 2.000, 8.000));
+engine.addInputVariable(inputVariable2);
+
+OutputVariable outputVariable = new OutputVariable();
+outputVariable.setEnabled(true);
+outputVariable.setName("PercentageInStocks");
+outputVariable.setRange(0.000, 100.000);
+outputVariable.fuzzyOutput().setAccumulation(new EinsteinSum());
+outputVariable.setDefuzzifier(new Centroid(200));
+outputVariable.setDefaultValue(Double.NaN);
+outputVariable.setLockPreviousOutputValue(false);
+outputVariable.setLockOutputValueInRange(false);
+outputVariable.addTerm(new Gaussian("AboutFifteen", 15.000, 10.000));
+outputVariable.addTerm(new Gaussian("AboutFifty", 50.000, 10.000));
+outputVariable.addTerm(new Gaussian("AboutEightyFive", 85.000, 10.000));
+engine.addOutputVariable(outputVariable);
+
+RuleBlock ruleBlock = new RuleBlock();
+ruleBlock.setEnabled(true);
+ruleBlock.setName("");
+ruleBlock.setConjunction(new EinsteinProduct());
+ruleBlock.setDisjunction(new EinsteinSum());
+ruleBlock.setActivation(new EinsteinProduct());
+ruleBlock.addRule(Rule.parse("if Age is Young or RiskTolerance is High then PercentageInStocks is AboutEightyFive", engine));
+ruleBlock.addRule(Rule.parse("if Age is Old or RiskTolerance is Low then PercentageInStocks is AboutFifteen", engine));
+ruleBlock.addRule(Rule.parse("if Age is not extremely Old and RiskTolerance is not extremely Low then PercentageInStocks is AboutFifty with 0.500", engine));
+ruleBlock.addRule(Rule.parse("if Age is not extremely Young and RiskTolerance is not extremely High then PercentageInStocks is AboutFifty with 0.500", engine));
+engine.addRuleBlock(ruleBlock);
+
+
+}
+}
diff --git a/examples/mamdani/octave/mamdani_tip_calculator.cpp b/examples/mamdani/octave/mamdani_tip_calculator.cpp
new file mode 100644
index 0000000..cd57bf7
--- /dev/null
+++ b/examples/mamdani/octave/mamdani_tip_calculator.cpp
@@ -0,0 +1,66 @@
+#include <fl/Headers.h>
+
+int main(int argc, char** argv){
+using namespace fl;
+
+Engine* engine = new Engine;
+engine->setName("Mamdani-Tip-Calculator");
+
+InputVariable* inputVariable1 = new InputVariable;
+inputVariable1->setEnabled(true);
+inputVariable1->setName("FoodQuality");
+inputVariable1->setRange(1.000, 10.000);
+inputVariable1->addTerm(new Trapezoid("Bad", 0.000, 1.000, 3.000, 7.000));
+inputVariable1->addTerm(new Trapezoid("Good", 3.000, 7.000, 10.000, 11.000));
+engine->addInputVariable(inputVariable1);
+
+InputVariable* inputVariable2 = new InputVariable;
+inputVariable2->setEnabled(true);
+inputVariable2->setName("Service");
+inputVariable2->setRange(1.000, 10.000);
+inputVariable2->addTerm(new Trapezoid("Bad", 0.000, 1.000, 3.000, 7.000));
+inputVariable2->addTerm(new Trapezoid("Good", 3.000, 7.000, 10.000, 11.000));
+engine->addInputVariable(inputVariable2);
+
+OutputVariable* outputVariable1 = new OutputVariable;
+outputVariable1->setEnabled(true);
+outputVariable1->setName("Tip");
+outputVariable1->setRange(0.000, 30.000);
+outputVariable1->fuzzyOutput()->setAccumulation(new AlgebraicSum);
+outputVariable1->setDefuzzifier(new Centroid(200));
+outputVariable1->setDefaultValue(fl::nan);
+outputVariable1->setLockPreviousOutputValue(false);
+outputVariable1->setLockOutputValueInRange(false);
+outputVariable1->addTerm(new Gaussian("AboutTenPercent", 10.000, 2.000));
+outputVariable1->addTerm(new Gaussian("AboutFifteenPercent", 15.000, 2.000));
+outputVariable1->addTerm(new Gaussian("AboutTwentyPercent", 20.000, 2.000));
+engine->addOutputVariable(outputVariable1);
+
+OutputVariable* outputVariable2 = new OutputVariable;
+outputVariable2->setEnabled(true);
+outputVariable2->setName("CheckPlusTip");
+outputVariable2->setRange(1.000, 1.300);
+outputVariable2->fuzzyOutput()->setAccumulation(new AlgebraicSum);
+outputVariable2->setDefuzzifier(new Centroid(200));
+outputVariable2->setDefaultValue(fl::nan);
+outputVariable2->setLockPreviousOutputValue(false);
+outputVariable2->setLockOutputValueInRange(false);
+outputVariable2->addTerm(new Gaussian("PlusAboutTenPercent", 1.100, 0.020));
+outputVariable2->addTerm(new Gaussian("PlusAboutFifteenPercent", 1.150, 0.020));
+outputVariable2->addTerm(new Gaussian("PlusAboutTwentyPercent", 1.200, 0.020));
+engine->addOutputVariable(outputVariable2);
+
+RuleBlock* ruleBlock = new RuleBlock;
+ruleBlock->setEnabled(true);
+ruleBlock->setName("");
+ruleBlock->setConjunction(new AlgebraicProduct);
+ruleBlock->setDisjunction(new Maximum);
+ruleBlock->setActivation(new Minimum);
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Bad and Service is Bad then Tip is AboutTenPercent and CheckPlusTip is PlusAboutTenPercent", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Bad and Service is Good then Tip is AboutFifteenPercent and CheckPlusTip is PlusAboutFifteenPercent", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Good and Service is Bad then Tip is AboutFifteenPercent and CheckPlusTip is PlusAboutFifteenPercent", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Good and Service is Good then Tip is AboutTwentyPercent and CheckPlusTip is PlusAboutTwentyPercent", engine));
+engine->addRuleBlock(ruleBlock);
+
+
+}
diff --git a/examples/mamdani/octave/mamdani_tip_calculator.fcl b/examples/mamdani/octave/mamdani_tip_calculator.fcl
new file mode 100644
index 0000000..3ea903a
--- /dev/null
+++ b/examples/mamdani/octave/mamdani_tip_calculator.fcl
@@ -0,0 +1,55 @@
+FUNCTION_BLOCK Mamdani-Tip-Calculator
+
+VAR_INPUT
+ FoodQuality: REAL;
+ Service: REAL;
+END_VAR
+
+VAR_OUTPUT
+ Tip: REAL;
+ CheckPlusTip: REAL;
+END_VAR
+
+FUZZIFY FoodQuality
+ RANGE := (1.000 .. 10.000);
+ TERM Bad := Trapezoid 0.000 1.000 3.000 7.000;
+ TERM Good := Trapezoid 3.000 7.000 10.000 11.000;
+END_FUZZIFY
+
+FUZZIFY Service
+ RANGE := (1.000 .. 10.000);
+ TERM Bad := Trapezoid 0.000 1.000 3.000 7.000;
+ TERM Good := Trapezoid 3.000 7.000 10.000 11.000;
+END_FUZZIFY
+
+DEFUZZIFY Tip
+ RANGE := (0.000 .. 30.000);
+ TERM AboutTenPercent := Gaussian 10.000 2.000;
+ TERM AboutFifteenPercent := Gaussian 15.000 2.000;
+ TERM AboutTwentyPercent := Gaussian 20.000 2.000;
+ METHOD : COG;
+ ACCU : ASUM;
+ DEFAULT := nan;
+END_DEFUZZIFY
+
+DEFUZZIFY CheckPlusTip
+ RANGE := (1.000 .. 1.300);
+ TERM PlusAboutTenPercent := Gaussian 1.100 0.020;
+ TERM PlusAboutFifteenPercent := Gaussian 1.150 0.020;
+ TERM PlusAboutTwentyPercent := Gaussian 1.200 0.020;
+ METHOD : COG;
+ ACCU : ASUM;
+ DEFAULT := nan;
+END_DEFUZZIFY
+
+RULEBLOCK
+ AND : PROD;
+ OR : MAX;
+ ACT : MIN;
+ RULE 1 : if FoodQuality is Bad and Service is Bad then Tip is AboutTenPercent and CheckPlusTip is PlusAboutTenPercent
+ RULE 2 : if FoodQuality is Bad and Service is Good then Tip is AboutFifteenPercent and CheckPlusTip is PlusAboutFifteenPercent
+ RULE 3 : if FoodQuality is Good and Service is Bad then Tip is AboutFifteenPercent and CheckPlusTip is PlusAboutFifteenPercent
+ RULE 4 : if FoodQuality is Good and Service is Good then Tip is AboutTwentyPercent and CheckPlusTip is PlusAboutTwentyPercent
+END_RULEBLOCK
+
+END_FUNCTION_BLOCK
diff --git a/examples/mamdani/octave/mamdani_tip_calculator.fis b/examples/mamdani/octave/mamdani_tip_calculator.fis
new file mode 100644
index 0000000..42cf1df
--- /dev/null
+++ b/examples/mamdani/octave/mamdani_tip_calculator.fis
@@ -0,0 +1,47 @@
+[System]
+Name='Mamdani-Tip-Calculator'
+Type='mamdani'
+NumInputs=2
+NumOutputs=2
+NumRules=4
+AndMethod='prod'
+OrMethod='max'
+ImpMethod='min'
+AggMethod='sum'
+DefuzzMethod='centroid'
+
+[Input1]
+Name='FoodQuality'
+Range=[1.000 10.000]
+NumMFs=2
+MF1='Bad':'trapmf',[0.000 1.000 3.000 7.000]
+MF2='Good':'trapmf',[3.000 7.000 10.000 11.000]
+
+[Input2]
+Name='Service'
+Range=[1.000 10.000]
+NumMFs=2
+MF1='Bad':'trapmf',[0.000 1.000 3.000 7.000]
+MF2='Good':'trapmf',[3.000 7.000 10.000 11.000]
+
+[Output1]
+Name='Tip'
+Range=[0.000 30.000]
+NumMFs=3
+MF1='AboutTenPercent':'gaussmf',[2.000 10.000]
+MF2='AboutFifteenPercent':'gaussmf',[2.000 15.000]
+MF3='AboutTwentyPercent':'gaussmf',[2.000 20.000]
+
+[Output2]
+Name='CheckPlusTip'
+Range=[1.000 1.300]
+NumMFs=3
+MF1='PlusAboutTenPercent':'gaussmf',[0.020 1.100]
+MF2='PlusAboutFifteenPercent':'gaussmf',[0.020 1.150]
+MF3='PlusAboutTwentyPercent':'gaussmf',[0.020 1.200]
+
+[Rules]
+1.000 1.000 , 1.000 1.000 (1.000) : 1
+1.000 2.000 , 2.000 2.000 (1.000) : 1
+2.000 1.000 , 2.000 2.000 (1.000) : 1
+2.000 2.000 , 3.000 3.000 (1.000) : 1
diff --git a/examples/mamdani/octave/mamdani_tip_calculator.fld b/examples/mamdani/octave/mamdani_tip_calculator.fld
new file mode 100644
index 0000000..9d54109
--- /dev/null
+++ b/examples/mamdani/octave/mamdani_tip_calculator.fld
@@ -0,0 +1,1026 @@
+#@Engine: Mamdani-Tip-Calculator;
+#@InputVariable: FoodQuality; @InputVariable: Service; @OutputVariable: Tip; @OutputVariable: CheckPlusTip;
+1.00000000 1.00000000 10.00000296 1.10000003
+1.00000000 1.29032258 10.00000296 1.10000003
+1.00000000 1.58064516 10.00000296 1.10000003
+1.00000000 1.87096774 10.00000296 1.10000003
+1.00000000 2.16129032 10.00000296 1.10000003
+1.00000000 2.45161290 10.00000296 1.10000003
+1.00000000 2.74193548 10.00000296 1.10000003
+1.00000000 3.03225806 10.10361204 1.10103612
+1.00000000 3.32258065 10.70846739 1.10708467
+1.00000000 3.61290323 11.13394556 1.11133946
+1.00000000 3.90322581 11.47924881 1.11479249
+1.00000000 4.19354839 11.77837052 1.11778371
+1.00000000 4.48387097 12.05010492 1.12050105
+1.00000000 4.77419355 12.30576276 1.12305763
+1.00000000 5.06451613 12.55517544 1.12555175
+1.00000000 5.35483871 12.80665986 1.12806660
+1.00000000 5.64516129 13.06809323 1.13068093
+1.00000000 5.93548387 13.35056196 1.13350562
+1.00000000 6.22580645 13.66657067 1.13666571
+1.00000000 6.51612903 14.04212491 1.14042125
+1.00000000 6.80645161 14.52492871 1.14524929
+1.00000000 7.09677419 15.00000000 1.15000000
+1.00000000 7.38709677 15.00000000 1.15000000
+1.00000000 7.67741935 15.00000000 1.15000000
+1.00000000 7.96774194 15.00000000 1.15000000
+1.00000000 8.25806452 15.00000000 1.15000000
+1.00000000 8.54838710 15.00000000 1.15000000
+1.00000000 8.83870968 15.00000000 1.15000000
+1.00000000 9.12903226 15.00000000 1.15000000
+1.00000000 9.41935484 15.00000000 1.15000000
+1.00000000 9.70967742 15.00000000 1.15000000
+1.00000000 10.00000000 15.00000000 1.15000000
+1.29032258 1.00000000 10.00000296 1.10000003
+1.29032258 1.29032258 10.00000296 1.10000003
+1.29032258 1.58064516 10.00000296 1.10000003
+1.29032258 1.87096774 10.00000296 1.10000003
+1.29032258 2.16129032 10.00000296 1.10000003
+1.29032258 2.45161290 10.00000296 1.10000003
+1.29032258 2.74193548 10.00000296 1.10000003
+1.29032258 3.03225806 10.10361204 1.10103612
+1.29032258 3.32258065 10.70846739 1.10708467
+1.29032258 3.61290323 11.13394556 1.11133946
+1.29032258 3.90322581 11.47924881 1.11479249
+1.29032258 4.19354839 11.77837052 1.11778371
+1.29032258 4.48387097 12.05010492 1.12050105
+1.29032258 4.77419355 12.30576276 1.12305763
+1.29032258 5.06451613 12.55517544 1.12555175
+1.29032258 5.35483871 12.80665986 1.12806660
+1.29032258 5.64516129 13.06809323 1.13068093
+1.29032258 5.93548387 13.35056196 1.13350562
+1.29032258 6.22580645 13.66657067 1.13666571
+1.29032258 6.51612903 14.04212491 1.14042125
+1.29032258 6.80645161 14.52492871 1.14524929
+1.29032258 7.09677419 15.00000000 1.15000000
+1.29032258 7.38709677 15.00000000 1.15000000
+1.29032258 7.67741935 15.00000000 1.15000000
+1.29032258 7.96774194 15.00000000 1.15000000
+1.29032258 8.25806452 15.00000000 1.15000000
+1.29032258 8.54838710 15.00000000 1.15000000
+1.29032258 8.83870968 15.00000000 1.15000000
+1.29032258 9.12903226 15.00000000 1.15000000
+1.29032258 9.41935484 15.00000000 1.15000000
+1.29032258 9.70967742 15.00000000 1.15000000
+1.29032258 10.00000000 15.00000000 1.15000000
+1.58064516 1.00000000 10.00000296 1.10000003
+1.58064516 1.29032258 10.00000296 1.10000003
+1.58064516 1.58064516 10.00000296 1.10000003
+1.58064516 1.87096774 10.00000296 1.10000003
+1.58064516 2.16129032 10.00000296 1.10000003
+1.58064516 2.45161290 10.00000296 1.10000003
+1.58064516 2.74193548 10.00000296 1.10000003
+1.58064516 3.03225806 10.10361204 1.10103612
+1.58064516 3.32258065 10.70846739 1.10708467
+1.58064516 3.61290323 11.13394556 1.11133946
+1.58064516 3.90322581 11.47924881 1.11479249
+1.58064516 4.19354839 11.77837052 1.11778371
+1.58064516 4.48387097 12.05010492 1.12050105
+1.58064516 4.77419355 12.30576276 1.12305763
+1.58064516 5.06451613 12.55517544 1.12555175
+1.58064516 5.35483871 12.80665986 1.12806660
+1.58064516 5.64516129 13.06809323 1.13068093
+1.58064516 5.93548387 13.35056196 1.13350562
+1.58064516 6.22580645 13.66657067 1.13666571
+1.58064516 6.51612903 14.04212491 1.14042125
+1.58064516 6.80645161 14.52492871 1.14524929
+1.58064516 7.09677419 15.00000000 1.15000000
+1.58064516 7.38709677 15.00000000 1.15000000
+1.58064516 7.67741935 15.00000000 1.15000000
+1.58064516 7.96774194 15.00000000 1.15000000
+1.58064516 8.25806452 15.00000000 1.15000000
+1.58064516 8.54838710 15.00000000 1.15000000
+1.58064516 8.83870968 15.00000000 1.15000000
+1.58064516 9.12903226 15.00000000 1.15000000
+1.58064516 9.41935484 15.00000000 1.15000000
+1.58064516 9.70967742 15.00000000 1.15000000
+1.58064516 10.00000000 15.00000000 1.15000000
+1.87096774 1.00000000 10.00000296 1.10000003
+1.87096774 1.29032258 10.00000296 1.10000003
+1.87096774 1.58064516 10.00000296 1.10000003
+1.87096774 1.87096774 10.00000296 1.10000003
+1.87096774 2.16129032 10.00000296 1.10000003
+1.87096774 2.45161290 10.00000296 1.10000003
+1.87096774 2.74193548 10.00000296 1.10000003
+1.87096774 3.03225806 10.10361204 1.10103612
+1.87096774 3.32258065 10.70846739 1.10708467
+1.87096774 3.61290323 11.13394556 1.11133946
+1.87096774 3.90322581 11.47924881 1.11479249
+1.87096774 4.19354839 11.77837052 1.11778371
+1.87096774 4.48387097 12.05010492 1.12050105
+1.87096774 4.77419355 12.30576276 1.12305763
+1.87096774 5.06451613 12.55517544 1.12555175
+1.87096774 5.35483871 12.80665986 1.12806660
+1.87096774 5.64516129 13.06809323 1.13068093
+1.87096774 5.93548387 13.35056196 1.13350562
+1.87096774 6.22580645 13.66657067 1.13666571
+1.87096774 6.51612903 14.04212491 1.14042125
+1.87096774 6.80645161 14.52492871 1.14524929
+1.87096774 7.09677419 15.00000000 1.15000000
+1.87096774 7.38709677 15.00000000 1.15000000
+1.87096774 7.67741935 15.00000000 1.15000000
+1.87096774 7.96774194 15.00000000 1.15000000
+1.87096774 8.25806452 15.00000000 1.15000000
+1.87096774 8.54838710 15.00000000 1.15000000
+1.87096774 8.83870968 15.00000000 1.15000000
+1.87096774 9.12903226 15.00000000 1.15000000
+1.87096774 9.41935484 15.00000000 1.15000000
+1.87096774 9.70967742 15.00000000 1.15000000
+1.87096774 10.00000000 15.00000000 1.15000000
+2.16129032 1.00000000 10.00000296 1.10000003
+2.16129032 1.29032258 10.00000296 1.10000003
+2.16129032 1.58064516 10.00000296 1.10000003
+2.16129032 1.87096774 10.00000296 1.10000003
+2.16129032 2.16129032 10.00000296 1.10000003
+2.16129032 2.45161290 10.00000296 1.10000003
+2.16129032 2.74193548 10.00000296 1.10000003
+2.16129032 3.03225806 10.10361204 1.10103612
+2.16129032 3.32258065 10.70846739 1.10708467
+2.16129032 3.61290323 11.13394556 1.11133946
+2.16129032 3.90322581 11.47924881 1.11479249
+2.16129032 4.19354839 11.77837052 1.11778371
+2.16129032 4.48387097 12.05010492 1.12050105
+2.16129032 4.77419355 12.30576276 1.12305763
+2.16129032 5.06451613 12.55517544 1.12555175
+2.16129032 5.35483871 12.80665986 1.12806660
+2.16129032 5.64516129 13.06809323 1.13068093
+2.16129032 5.93548387 13.35056196 1.13350562
+2.16129032 6.22580645 13.66657067 1.13666571
+2.16129032 6.51612903 14.04212491 1.14042125
+2.16129032 6.80645161 14.52492871 1.14524929
+2.16129032 7.09677419 15.00000000 1.15000000
+2.16129032 7.38709677 15.00000000 1.15000000
+2.16129032 7.67741935 15.00000000 1.15000000
+2.16129032 7.96774194 15.00000000 1.15000000
+2.16129032 8.25806452 15.00000000 1.15000000
+2.16129032 8.54838710 15.00000000 1.15000000
+2.16129032 8.83870968 15.00000000 1.15000000
+2.16129032 9.12903226 15.00000000 1.15000000
+2.16129032 9.41935484 15.00000000 1.15000000
+2.16129032 9.70967742 15.00000000 1.15000000
+2.16129032 10.00000000 15.00000000 1.15000000
+2.45161290 1.00000000 10.00000296 1.10000003
+2.45161290 1.29032258 10.00000296 1.10000003
+2.45161290 1.58064516 10.00000296 1.10000003
+2.45161290 1.87096774 10.00000296 1.10000003
+2.45161290 2.16129032 10.00000296 1.10000003
+2.45161290 2.45161290 10.00000296 1.10000003
+2.45161290 2.74193548 10.00000296 1.10000003
+2.45161290 3.03225806 10.10361204 1.10103612
+2.45161290 3.32258065 10.70846739 1.10708467
+2.45161290 3.61290323 11.13394556 1.11133946
+2.45161290 3.90322581 11.47924881 1.11479249
+2.45161290 4.19354839 11.77837052 1.11778371
+2.45161290 4.48387097 12.05010492 1.12050105
+2.45161290 4.77419355 12.30576276 1.12305763
+2.45161290 5.06451613 12.55517544 1.12555175
+2.45161290 5.35483871 12.80665986 1.12806660
+2.45161290 5.64516129 13.06809323 1.13068093
+2.45161290 5.93548387 13.35056196 1.13350562
+2.45161290 6.22580645 13.66657067 1.13666571
+2.45161290 6.51612903 14.04212491 1.14042125
+2.45161290 6.80645161 14.52492871 1.14524929
+2.45161290 7.09677419 15.00000000 1.15000000
+2.45161290 7.38709677 15.00000000 1.15000000
+2.45161290 7.67741935 15.00000000 1.15000000
+2.45161290 7.96774194 15.00000000 1.15000000
+2.45161290 8.25806452 15.00000000 1.15000000
+2.45161290 8.54838710 15.00000000 1.15000000
+2.45161290 8.83870968 15.00000000 1.15000000
+2.45161290 9.12903226 15.00000000 1.15000000
+2.45161290 9.41935484 15.00000000 1.15000000
+2.45161290 9.70967742 15.00000000 1.15000000
+2.45161290 10.00000000 15.00000000 1.15000000
+2.74193548 1.00000000 10.00000296 1.10000003
+2.74193548 1.29032258 10.00000296 1.10000003
+2.74193548 1.58064516 10.00000296 1.10000003
+2.74193548 1.87096774 10.00000296 1.10000003
+2.74193548 2.16129032 10.00000296 1.10000003
+2.74193548 2.45161290 10.00000296 1.10000003
+2.74193548 2.74193548 10.00000296 1.10000003
+2.74193548 3.03225806 10.10361204 1.10103612
+2.74193548 3.32258065 10.70846739 1.10708467
+2.74193548 3.61290323 11.13394556 1.11133946
+2.74193548 3.90322581 11.47924881 1.11479249
+2.74193548 4.19354839 11.77837052 1.11778371
+2.74193548 4.48387097 12.05010492 1.12050105
+2.74193548 4.77419355 12.30576276 1.12305763
+2.74193548 5.06451613 12.55517544 1.12555175
+2.74193548 5.35483871 12.80665986 1.12806660
+2.74193548 5.64516129 13.06809323 1.13068093
+2.74193548 5.93548387 13.35056196 1.13350562
+2.74193548 6.22580645 13.66657067 1.13666571
+2.74193548 6.51612903 14.04212491 1.14042125
+2.74193548 6.80645161 14.52492871 1.14524929
+2.74193548 7.09677419 15.00000000 1.15000000
+2.74193548 7.38709677 15.00000000 1.15000000
+2.74193548 7.67741935 15.00000000 1.15000000
+2.74193548 7.96774194 15.00000000 1.15000000
+2.74193548 8.25806452 15.00000000 1.15000000
+2.74193548 8.54838710 15.00000000 1.15000000
+2.74193548 8.83870968 15.00000000 1.15000000
+2.74193548 9.12903226 15.00000000 1.15000000
+2.74193548 9.41935484 15.00000000 1.15000000
+2.74193548 9.70967742 15.00000000 1.15000000
+2.74193548 10.00000000 15.00000000 1.15000000
+3.03225806 1.00000000 10.10361204 1.10103612
+3.03225806 1.29032258 10.10361204 1.10103612
+3.03225806 1.58064516 10.10361204 1.10103612
+3.03225806 1.87096774 10.10361204 1.10103612
+3.03225806 2.16129032 10.10361204 1.10103612
+3.03225806 2.45161290 10.10361204 1.10103612
+3.03225806 2.74193548 10.10361204 1.10103612
+3.03225806 3.03225806 10.20435811 1.10204358
+3.03225806 3.32258065 10.79601822 1.10796018
+3.03225806 3.61290323 11.21535874 1.11215359
+3.03225806 3.90322581 11.55784646 1.11557846
+3.03225806 4.19354839 11.85579036 1.11855790
+3.03225806 4.48387097 12.12724043 1.12127240
+3.03225806 4.77419355 12.38405258 1.12384053
+3.03225806 5.06451613 12.63499742 1.12634997
+3.03225806 5.35483871 12.88858563 1.12888586
+3.03225806 5.64516129 13.15323067 1.13153231
+3.03225806 5.93548387 13.43888099 1.13438881
+3.03225806 6.22580645 13.75926546 1.13759265
+3.03225806 6.51612903 14.13934485 1.14139345
+3.03225806 6.80645161 14.62674650 1.14626746
+3.03225806 7.09677419 15.10357489 1.15103575
+3.03225806 7.38709677 15.10357489 1.15103575
+3.03225806 7.67741935 15.10357489 1.15103575
+3.03225806 7.96774194 15.10357489 1.15103575
+3.03225806 8.25806452 15.10357489 1.15103575
+3.03225806 8.54838710 15.10357489 1.15103575
+3.03225806 8.83870968 15.10357489 1.15103575
+3.03225806 9.12903226 15.10357489 1.15103575
+3.03225806 9.41935484 15.10357489 1.15103575
+3.03225806 9.70967742 15.10357489 1.15103575
+3.03225806 10.00000000 15.10357489 1.15103575
+3.32258065 1.00000000 10.70846739 1.10708467
+3.32258065 1.29032258 10.70846739 1.10708467
+3.32258065 1.58064516 10.70846739 1.10708467
+3.32258065 1.87096774 10.70846739 1.10708467
+3.32258065 2.16129032 10.70846739 1.10708467
+3.32258065 2.45161290 10.70846739 1.10708467
+3.32258065 2.74193548 10.70846739 1.10708467
+3.32258065 3.03225806 10.79601822 1.10796018
+3.32258065 3.32258065 11.32266175 1.11322662
+3.32258065 3.61290323 11.71291316 1.11712913
+3.32258065 3.90322581 12.04341522 1.12043415
+3.32258065 4.19354839 12.33970940 1.12339709
+3.32258065 4.48387097 12.61573315 1.12615733
+3.32258065 4.77419355 12.88122387 1.12881224
+3.32258065 5.06451613 13.14483502 1.13144835
+3.32258065 5.35483871 13.41408247 1.13414082
+3.32258065 5.64516129 13.69613892 1.13696139
+3.32258065 5.93548387 14.00077769 1.14000778
+3.32258065 6.22580645 14.34225854 1.14342259
+3.32258065 6.51612903 14.73996425 1.14739964
+3.32258065 6.80645161 15.23916402 1.15239164
+3.32258065 7.09677419 15.70844950 1.15708449
+3.32258065 7.38709677 15.70844950 1.15708449
+3.32258065 7.67741935 15.70844950 1.15708449
+3.32258065 7.96774194 15.70844950 1.15708449
+3.32258065 8.25806452 15.70844950 1.15708449
+3.32258065 8.54838710 15.70844950 1.15708449
+3.32258065 8.83870968 15.70844950 1.15708449
+3.32258065 9.12903226 15.70844950 1.15708449
+3.32258065 9.41935484 15.70844950 1.15708449
+3.32258065 9.70967742 15.70844950 1.15708449
+3.32258065 10.00000000 15.70844950 1.15708449
+3.61290323 1.00000000 11.13394556 1.11133946
+3.61290323 1.29032258 11.13394556 1.11133946
+3.61290323 1.58064516 11.13394556 1.11133946
+3.61290323 1.87096774 11.13394556 1.11133946
+3.61290323 2.16129032 11.13394556 1.11133946
+3.61290323 2.45161290 11.13394556 1.11133946
+3.61290323 2.74193548 11.13394556 1.11133946
+3.61290323 3.03225806 11.21535874 1.11215359
+3.61290323 3.32258065 11.71291316 1.11712913
+3.61290323 3.61290323 12.09048689 1.12090487
+3.61290323 3.90322581 12.41795109 1.12417951
+3.61290323 4.19354839 12.71702039 1.12717020
+3.61290323 4.48387097 12.99911163 1.12999112
+3.61290323 4.77419355 13.27378061 1.13273781
+3.61290323 5.06451613 13.54771797 1.13547718
+3.61290323 5.35483871 13.82751223 1.13827512
+3.61290323 5.64516129 14.12018766 1.14120188
+3.61290323 5.93548387 14.43537168 1.14435372
+3.61290323 6.22580645 14.78491413 1.14784914
+3.61290323 6.51612903 15.18700487 1.15187005
+3.61290323 6.80645161 15.68154801 1.15681548
+3.61290323 7.09677419 16.13382374 1.16133824
+3.61290323 7.38709677 16.13382374 1.16133824
+3.61290323 7.67741935 16.13382374 1.16133824
+3.61290323 7.96774194 16.13382374 1.16133824
+3.61290323 8.25806452 16.13382374 1.16133824
+3.61290323 8.54838710 16.13382374 1.16133824
+3.61290323 8.83870968 16.13382374 1.16133824
+3.61290323 9.12903226 16.13382374 1.16133824
+3.61290323 9.41935484 16.13382374 1.16133824
+3.61290323 9.70967742 16.13382374 1.16133824
+3.61290323 10.00000000 16.13382374 1.16133824
+3.90322581 1.00000000 11.47924881 1.11479249
+3.90322581 1.29032258 11.47924881 1.11479249
+3.90322581 1.58064516 11.47924881 1.11479249
+3.90322581 1.87096774 11.47924881 1.11479249
+3.90322581 2.16129032 11.47924881 1.11479249
+3.90322581 2.45161290 11.47924881 1.11479249
+3.90322581 2.74193548 11.47924881 1.11479249
+3.90322581 3.03225806 11.55784646 1.11557846
+3.90322581 3.32258065 12.04341522 1.12043415
+3.90322581 3.61290323 12.41795109 1.12417951
+3.90322581 3.90322581 12.74629906 1.12746299
+3.90322581 4.19354839 13.04969635 1.13049696
+3.90322581 4.48387097 13.33797049 1.13337970
+3.90322581 4.77419355 13.62015959 1.13620160
+3.90322581 5.06451613 13.90194660 1.13901947
+3.90322581 5.35483871 14.18888316 1.14188883
+3.90322581 5.64516129 14.48954068 1.14489541
+3.90322581 5.93548387 14.80982202 1.14809822
+3.90322581 6.22580645 15.16074884 1.15160749
+3.90322581 6.51612903 15.56087142 1.15560871
+3.90322581 6.80645161 16.04390018 1.16043900
+3.90322581 7.09677419 16.47922769 1.16479228
+3.90322581 7.38709677 16.47922769 1.16479228
+3.90322581 7.67741935 16.47922769 1.16479228
+3.90322581 7.96774194 16.47922769 1.16479228
+3.90322581 8.25806452 16.47922769 1.16479228
+3.90322581 8.54838710 16.47922769 1.16479228
+3.90322581 8.83870968 16.47922769 1.16479228
+3.90322581 9.12903226 16.47922769 1.16479228
+3.90322581 9.41935484 16.47922769 1.16479228
+3.90322581 9.70967742 16.47922769 1.16479228
+3.90322581 10.00000000 16.47922769 1.16479228
+4.19354839 1.00000000 11.77837052 1.11778371
+4.19354839 1.29032258 11.77837052 1.11778371
+4.19354839 1.58064516 11.77837052 1.11778371
+4.19354839 1.87096774 11.77837052 1.11778371
+4.19354839 2.16129032 11.77837052 1.11778371
+4.19354839 2.45161290 11.77837052 1.11778371
+4.19354839 2.74193548 11.77837052 1.11778371
+4.19354839 3.03225806 11.85579036 1.11855790
+4.19354839 3.32258065 12.33970940 1.12339709
+4.19354839 3.61290323 12.71702039 1.12717020
+4.19354839 3.90322581 13.04969635 1.13049696
+4.19354839 4.19354839 13.35789542 1.13357895
+4.19354839 4.48387097 13.65214664 1.13652147
+4.19354839 4.77419355 13.94035790 1.13940358
+4.19354839 5.06451613 14.22819712 1.14228197
+4.19354839 5.35483871 14.52045260 1.14520453
+4.19354839 5.64516129 14.82442596 1.14824426
+4.19354839 5.93548387 15.14611095 1.15146111
+4.19354839 6.22580645 15.49584016 1.15495840
+4.19354839 6.51612903 15.88989883 1.15889899
+4.19354839 6.80645161 16.36071096 1.16360711
+4.19354839 7.09677419 16.77845274 1.16778453
+4.19354839 7.38709677 16.77845274 1.16778453
+4.19354839 7.67741935 16.77845274 1.16778453
+4.19354839 7.96774194 16.77845274 1.16778453
+4.19354839 8.25806452 16.77845274 1.16778453
+4.19354839 8.54838710 16.77845274 1.16778453
+4.19354839 8.83870968 16.77845274 1.16778453
+4.19354839 9.12903226 16.77845274 1.16778453
+4.19354839 9.41935484 16.77845274 1.16778453
+4.19354839 9.70967742 16.77845274 1.16778453
+4.19354839 10.00000000 16.77845274 1.16778453
+4.48387097 1.00000000 12.05010492 1.12050105
+4.48387097 1.29032258 12.05010492 1.12050105
+4.48387097 1.58064516 12.05010492 1.12050105
+4.48387097 1.87096774 12.05010492 1.12050105
+4.48387097 2.16129032 12.05010492 1.12050105
+4.48387097 2.45161290 12.05010492 1.12050105
+4.48387097 2.74193548 12.05010492 1.12050105
+4.48387097 3.03225806 12.12724043 1.12127240
+4.48387097 3.32258065 12.61573315 1.12615733
+4.48387097 3.61290323 12.99911163 1.12999112
+4.48387097 3.90322581 13.33797049 1.13337970
+4.48387097 4.19354839 13.65214664 1.13652147
+4.48387097 4.48387097 13.95167976 1.13951680
+4.48387097 4.77419355 14.24536545 1.14245365
+4.48387097 5.06451613 14.53742599 1.14537426
+4.48387097 5.35483871 14.83253803 1.14832538
+4.48387097 5.64516129 15.13703643 1.15137036
+4.48387097 5.93548387 15.45709896 1.15457099
+4.48387097 6.22580645 15.80333467 1.15803335
+4.48387097 6.51612903 16.18964589 1.16189646
+4.48387097 6.80645161 16.64650295 1.16646503
+4.48387097 7.09677419 17.05002382 1.17050024
+4.48387097 7.38709677 17.05002382 1.17050024
+4.48387097 7.67741935 17.05002382 1.17050024
+4.48387097 7.96774194 17.05002382 1.17050024
+4.48387097 8.25806452 17.05002382 1.17050024
+4.48387097 8.54838710 17.05002382 1.17050024
+4.48387097 8.83870968 17.05002382 1.17050024
+4.48387097 9.12903226 17.05002382 1.17050024
+4.48387097 9.41935484 17.05002382 1.17050024
+4.48387097 9.70967742 17.05002382 1.17050024
+4.48387097 10.00000000 17.05002382 1.17050024
+4.77419355 1.00000000 12.30576276 1.12305763
+4.77419355 1.29032258 12.30576276 1.12305763
+4.77419355 1.58064516 12.30576276 1.12305763
+4.77419355 1.87096774 12.30576276 1.12305763
+4.77419355 2.16129032 12.30576276 1.12305763
+4.77419355 2.45161290 12.30576276 1.12305763
+4.77419355 2.74193548 12.30576276 1.12305763
+4.77419355 3.03225806 12.38405258 1.12384053
+4.77419355 3.32258065 12.88122387 1.12881224
+4.77419355 3.61290323 13.27378061 1.13273781
+4.77419355 3.90322581 13.62015959 1.13620160
+4.77419355 4.19354839 13.94035790 1.13940358
+4.77419355 4.48387097 14.24536545 1.14245365
+4.77419355 4.77419355 14.54225355 1.14542254
+4.77419355 5.06451613 14.83618630 1.14836186
+4.77419355 5.35483871 15.13221695 1.15132217
+4.77419355 5.64516129 15.43597664 1.15435977
+4.77419355 5.93548387 15.75365034 1.15753650
+4.77419355 6.22580645 16.09439857 1.16094399
+4.77419355 6.51612903 16.47201646 1.16472016
+4.77419355 6.80645161 16.91532876 1.16915329
+4.77419355 7.09677419 17.30571907 1.17305719
+4.77419355 7.38709677 17.30571907 1.17305719
+4.77419355 7.67741935 17.30571907 1.17305719
+4.77419355 7.96774194 17.30571907 1.17305719
+4.77419355 8.25806452 17.30571907 1.17305719
+4.77419355 8.54838710 17.30571907 1.17305719
+4.77419355 8.83870968 17.30571907 1.17305719
+4.77419355 9.12903226 17.30571907 1.17305719
+4.77419355 9.41935484 17.30571907 1.17305719
+4.77419355 9.70967742 17.30571907 1.17305719
+4.77419355 10.00000000 17.30571907 1.17305719
+5.06451613 1.00000000 12.55517544 1.12555175
+5.06451613 1.29032258 12.55517544 1.12555175
+5.06451613 1.58064516 12.55517544 1.12555175
+5.06451613 1.87096774 12.55517544 1.12555175
+5.06451613 2.16129032 12.55517544 1.12555175
+5.06451613 2.45161290 12.55517544 1.12555175
+5.06451613 2.74193548 12.55517544 1.12555175
+5.06451613 3.03225806 12.63499742 1.12634997
+5.06451613 3.32258065 13.14483502 1.13144835
+5.06451613 3.61290323 13.54771797 1.13547718
+5.06451613 3.90322581 13.90194660 1.13901947
+5.06451613 4.19354839 14.22819712 1.14228197
+5.06451613 4.48387097 14.53742599 1.14537426
+5.06451613 4.77419355 14.83618630 1.14836186
+5.06451613 5.06451613 15.13082220 1.15130822
+5.06451613 5.35483871 15.42613481 1.15426135
+5.06451613 5.64516129 15.72760843 1.15727608
+5.06451613 5.93548387 16.04091807 1.16040918
+5.06451613 6.22580645 16.37497163 1.16374972
+5.06451613 6.51612903 16.74347970 1.16743480
+5.06451613 6.80645161 17.17503189 1.17175032
+5.06451613 7.09677419 17.55554644 1.17555546
+5.06451613 7.38709677 17.55554644 1.17555546
+5.06451613 7.67741935 17.55554644 1.17555546
+5.06451613 7.96774194 17.55554644 1.17555546
+5.06451613 8.25806452 17.55554644 1.17555546
+5.06451613 8.54838710 17.55554644 1.17555546
+5.06451613 8.83870968 17.55554644 1.17555546
+5.06451613 9.12903226 17.55554644 1.17555546
+5.06451613 9.41935484 17.55554644 1.17555546
+5.06451613 9.70967742 17.55554644 1.17555546
+5.06451613 10.00000000 17.55554644 1.17555546
+5.35483871 1.00000000 12.80665986 1.12806660
+5.35483871 1.29032258 12.80665986 1.12806660
+5.35483871 1.58064516 12.80665986 1.12806660
+5.35483871 1.87096774 12.80665986 1.12806660
+5.35483871 2.16129032 12.80665986 1.12806660
+5.35483871 2.45161290 12.80665986 1.12806660
+5.35483871 2.74193548 12.80665986 1.12806660
+5.35483871 3.03225806 12.88858563 1.12888586
+5.35483871 3.32258065 13.41408247 1.13414082
+5.35483871 3.61290323 13.82751223 1.13827512
+5.35483871 3.90322581 14.18888316 1.14188883
+5.35483871 4.19354839 14.52045260 1.14520453
+5.35483871 4.48387097 14.83253803 1.14832538
+5.35483871 4.77419355 15.13221695 1.15132217
+5.35483871 5.06451613 15.42613481 1.15426135
+5.35483871 5.35483871 15.71936190 1.15719362
+5.35483871 5.64516129 16.01779116 1.16017791
+5.35483871 5.93548387 16.32590382 1.16325904
+5.35483871 6.22580645 16.65335849 1.16653358
+5.35483871 6.51612903 17.01334871 1.17013349
+5.35483871 6.80645161 17.43409709 1.17434097
+5.35483871 7.09677419 17.80639865 1.17806399
+5.35483871 7.38709677 17.80639865 1.17806399
+5.35483871 7.67741935 17.80639865 1.17806399
+5.35483871 7.96774194 17.80639865 1.17806399
+5.35483871 8.25806452 17.80639865 1.17806399
+5.35483871 8.54838710 17.80639865 1.17806399
+5.35483871 8.83870968 17.80639865 1.17806399
+5.35483871 9.12903226 17.80639865 1.17806399
+5.35483871 9.41935484 17.80639865 1.17806399
+5.35483871 9.70967742 17.80639865 1.17806399
+5.35483871 10.00000000 17.80639865 1.17806399
+5.64516129 1.00000000 13.06809323 1.13068093
+5.64516129 1.29032258 13.06809323 1.13068093
+5.64516129 1.58064516 13.06809323 1.13068093
+5.64516129 1.87096774 13.06809323 1.13068093
+5.64516129 2.16129032 13.06809323 1.13068093
+5.64516129 2.45161290 13.06809323 1.13068093
+5.64516129 2.74193548 13.06809323 1.13068093
+5.64516129 3.03225806 13.15323067 1.13153231
+5.64516129 3.32258065 13.69613892 1.13696139
+5.64516129 3.61290323 14.12018766 1.14120188
+5.64516129 3.90322581 14.48954068 1.14489541
+5.64516129 4.19354839 14.82442596 1.14824426
+5.64516129 4.48387097 15.13703643 1.15137036
+5.64516129 4.77419355 15.43597664 1.15435977
+5.64516129 5.06451613 15.72760843 1.15727608
+5.64516129 5.35483871 16.01779116 1.16017791
+5.64516129 5.64516129 16.31159861 1.16311599
+5.64516129 5.93548387 16.61373257 1.16613733
+5.64516129 6.22580645 16.93399499 1.16933995
+5.64516129 6.51612903 17.28681907 1.17286819
+5.64516129 6.80645161 17.70002087 1.17700021
+5.64516129 7.09677419 18.06809818 1.18068098
+5.64516129 7.38709677 18.06809818 1.18068098
+5.64516129 7.67741935 18.06809818 1.18068098
+5.64516129 7.96774194 18.06809818 1.18068098
+5.64516129 8.25806452 18.06809818 1.18068098
+5.64516129 8.54838710 18.06809818 1.18068098
+5.64516129 8.83870968 18.06809818 1.18068098
+5.64516129 9.12903226 18.06809818 1.18068098
+5.64516129 9.41935484 18.06809818 1.18068098
+5.64516129 9.70967742 18.06809818 1.18068098
+5.64516129 10.00000000 18.06809818 1.18068098
+5.93548387 1.00000000 13.35056196 1.13350562
+5.93548387 1.29032258 13.35056196 1.13350562
+5.93548387 1.58064516 13.35056196 1.13350562
+5.93548387 1.87096774 13.35056196 1.13350562
+5.93548387 2.16129032 13.35056196 1.13350562
+5.93548387 2.45161290 13.35056196 1.13350562
+5.93548387 2.74193548 13.35056196 1.13350562
+5.93548387 3.03225806 13.43888099 1.13438881
+5.93548387 3.32258065 14.00077769 1.14000778
+5.93548387 3.61290323 14.43537168 1.14435372
+5.93548387 3.90322581 14.80982202 1.14809822
+5.93548387 4.19354839 15.14611095 1.15146111
+5.93548387 4.48387097 15.45709896 1.15457099
+5.93548387 4.77419355 15.75365034 1.15753650
+5.93548387 5.06451613 16.04091807 1.16040918
+5.93548387 5.35483871 16.32590382 1.16325904
+5.93548387 5.64516129 16.61373257 1.16613733
+5.93548387 5.93548387 16.91101948 1.16911019
+5.93548387 6.22580645 17.22556302 1.17225563
+5.93548387 6.51612903 17.57263541 1.17572635
+5.93548387 6.80645161 17.98210647 1.17982106
+5.93548387 7.09677419 18.34996260 1.18349963
+5.93548387 7.38709677 18.34996260 1.18349963
+5.93548387 7.67741935 18.34996260 1.18349963
+5.93548387 7.96774194 18.34996260 1.18349963
+5.93548387 8.25806452 18.34996260 1.18349963
+5.93548387 8.54838710 18.34996260 1.18349963
+5.93548387 8.83870968 18.34996260 1.18349963
+5.93548387 9.12903226 18.34996260 1.18349963
+5.93548387 9.41935484 18.34996260 1.18349963
+5.93548387 9.70967742 18.34996260 1.18349963
+5.93548387 10.00000000 18.34996260 1.18349963
+6.22580645 1.00000000 13.66657067 1.13666571
+6.22580645 1.29032258 13.66657067 1.13666571
+6.22580645 1.58064516 13.66657067 1.13666571
+6.22580645 1.87096774 13.66657067 1.13666571
+6.22580645 2.16129032 13.66657067 1.13666571
+6.22580645 2.45161290 13.66657067 1.13666571
+6.22580645 2.74193548 13.66657067 1.13666571
+6.22580645 3.03225806 13.75926546 1.13759265
+6.22580645 3.32258065 14.34225854 1.14342259
+6.22580645 3.61290323 14.78491413 1.14784914
+6.22580645 3.90322581 15.16074884 1.15160749
+6.22580645 4.19354839 15.49584016 1.15495840
+6.22580645 4.48387097 15.80333467 1.15803335
+6.22580645 4.77419355 16.09439857 1.16094399
+6.22580645 5.06451613 16.37497163 1.16374972
+6.22580645 5.35483871 16.65335849 1.16653358
+6.22580645 5.64516129 16.93399499 1.16933995
+6.22580645 5.93548387 17.22556302 1.17225563
+6.22580645 6.22580645 17.53669460 1.17536695
+6.22580645 6.51612903 17.88214034 1.17882140
+6.22580645 6.80645161 18.29211153 1.18292112
+6.22580645 7.09677419 18.66701771 1.18667018
+6.22580645 7.38709677 18.66701771 1.18667018
+6.22580645 7.67741935 18.66701771 1.18667018
+6.22580645 7.96774194 18.66701771 1.18667018
+6.22580645 8.25806452 18.66701771 1.18667018
+6.22580645 8.54838710 18.66701771 1.18667018
+6.22580645 8.83870968 18.66701771 1.18667018
+6.22580645 9.12903226 18.66701771 1.18667018
+6.22580645 9.41935484 18.66701771 1.18667018
+6.22580645 9.70967742 18.66701771 1.18667018
+6.22580645 10.00000000 18.66701771 1.18667018
+6.51612903 1.00000000 14.04212491 1.14042125
+6.51612903 1.29032258 14.04212491 1.14042125
+6.51612903 1.58064516 14.04212491 1.14042125
+6.51612903 1.87096774 14.04212491 1.14042125
+6.51612903 2.16129032 14.04212491 1.14042125
+6.51612903 2.45161290 14.04212491 1.14042125
+6.51612903 2.74193548 14.04212491 1.14042125
+6.51612903 3.03225806 14.13934485 1.14139345
+6.51612903 3.32258065 14.73996425 1.14739964
+6.51612903 3.61290323 15.18700487 1.15187005
+6.51612903 3.90322581 15.56087142 1.15560871
+6.51612903 4.19354839 15.88989883 1.15889899
+6.51612903 4.48387097 16.18964589 1.16189646
+6.51612903 4.77419355 16.47201646 1.16472016
+6.51612903 5.06451613 16.74347970 1.16743480
+6.51612903 5.35483871 17.01334871 1.17013349
+6.51612903 5.64516129 17.28681907 1.17286819
+6.51612903 5.93548387 17.57263541 1.17572635
+6.51612903 6.22580645 17.88214034 1.17882140
+6.51612903 6.51612903 18.22999587 1.18229996
+6.51612903 6.80645161 18.65108897 1.18651089
+6.51612903 7.09677419 19.04189908 1.19041899
+6.51612903 7.38709677 19.04189908 1.19041899
+6.51612903 7.67741935 19.04189908 1.19041899
+6.51612903 7.96774194 19.04189908 1.19041899
+6.51612903 8.25806452 19.04189908 1.19041899
+6.51612903 8.54838710 19.04189908 1.19041899
+6.51612903 8.83870968 19.04189908 1.19041899
+6.51612903 9.12903226 19.04189908 1.19041899
+6.51612903 9.41935484 19.04189908 1.19041899
+6.51612903 9.70967742 19.04189908 1.19041899
+6.51612903 10.00000000 19.04189908 1.19041899
+6.80645161 1.00000000 14.52492871 1.14524929
+6.80645161 1.29032258 14.52492871 1.14524929
+6.80645161 1.58064516 14.52492871 1.14524929
+6.80645161 1.87096774 14.52492871 1.14524929
+6.80645161 2.16129032 14.52492871 1.14524929
+6.80645161 2.45161290 14.52492871 1.14524929
+6.80645161 2.74193548 14.52492871 1.14524929
+6.80645161 3.03225806 14.62674650 1.14626746
+6.80645161 3.32258065 15.23916402 1.15239164
+6.80645161 3.61290323 15.68154801 1.15681548
+6.80645161 3.90322581 16.04390018 1.16043900
+6.80645161 4.19354839 16.36071096 1.16360711
+6.80645161 4.48387097 16.64650295 1.16646503
+6.80645161 4.77419355 16.91532876 1.16915329
+6.80645161 5.06451613 17.17503189 1.17175032
+6.80645161 5.35483871 17.43409709 1.17434097
+6.80645161 5.64516129 17.70002087 1.17700021
+6.80645161 5.93548387 17.98210647 1.17982106
+6.80645161 6.22580645 18.29211153 1.18292112
+6.80645161 6.51612903 18.65108897 1.18651089
+6.80645161 6.80645161 19.09888025 1.19098880
+6.80645161 7.09677419 19.52496415 1.19524964
+6.80645161 7.38709677 19.52496415 1.19524964
+6.80645161 7.67741935 19.52496415 1.19524964
+6.80645161 7.96774194 19.52496415 1.19524964
+6.80645161 8.25806452 19.52496415 1.19524964
+6.80645161 8.54838710 19.52496415 1.19524964
+6.80645161 8.83870968 19.52496415 1.19524964
+6.80645161 9.12903226 19.52496415 1.19524964
+6.80645161 9.41935484 19.52496415 1.19524964
+6.80645161 9.70967742 19.52496415 1.19524964
+6.80645161 10.00000000 19.52496415 1.19524964
+7.09677419 1.00000000 15.00000000 1.15000000
+7.09677419 1.29032258 15.00000000 1.15000000
+7.09677419 1.58064516 15.00000000 1.15000000
+7.09677419 1.87096774 15.00000000 1.15000000
+7.09677419 2.16129032 15.00000000 1.15000000
+7.09677419 2.45161290 15.00000000 1.15000000
+7.09677419 2.74193548 15.00000000 1.15000000
+7.09677419 3.03225806 15.10357489 1.15103575
+7.09677419 3.32258065 15.70844950 1.15708449
+7.09677419 3.61290323 16.13382374 1.16133824
+7.09677419 3.90322581 16.47922769 1.16479228
+7.09677419 4.19354839 16.77845274 1.16778453
+7.09677419 4.48387097 17.05002382 1.17050024
+7.09677419 4.77419355 17.30571907 1.17305719
+7.09677419 5.06451613 17.55554644 1.17555546
+7.09677419 5.35483871 17.80639865 1.17806399
+7.09677419 5.64516129 18.06809818 1.18068098
+7.09677419 5.93548387 18.34996260 1.18349963
+7.09677419 6.22580645 18.66701771 1.18667018
+7.09677419 6.51612903 19.04189908 1.19041899
+7.09677419 6.80645161 19.52496415 1.19524964
+7.09677419 7.09677419 19.99999704 1.19999997
+7.09677419 7.38709677 19.99999704 1.19999997
+7.09677419 7.67741935 19.99999704 1.19999997
+7.09677419 7.96774194 19.99999704 1.19999997
+7.09677419 8.25806452 19.99999704 1.19999997
+7.09677419 8.54838710 19.99999704 1.19999997
+7.09677419 8.83870968 19.99999704 1.19999997
+7.09677419 9.12903226 19.99999704 1.19999997
+7.09677419 9.41935484 19.99999704 1.19999997
+7.09677419 9.70967742 19.99999704 1.19999997
+7.09677419 10.00000000 19.99999704 1.19999997
+7.38709677 1.00000000 15.00000000 1.15000000
+7.38709677 1.29032258 15.00000000 1.15000000
+7.38709677 1.58064516 15.00000000 1.15000000
+7.38709677 1.87096774 15.00000000 1.15000000
+7.38709677 2.16129032 15.00000000 1.15000000
+7.38709677 2.45161290 15.00000000 1.15000000
+7.38709677 2.74193548 15.00000000 1.15000000
+7.38709677 3.03225806 15.10357489 1.15103575
+7.38709677 3.32258065 15.70844950 1.15708449
+7.38709677 3.61290323 16.13382374 1.16133824
+7.38709677 3.90322581 16.47922769 1.16479228
+7.38709677 4.19354839 16.77845274 1.16778453
+7.38709677 4.48387097 17.05002382 1.17050024
+7.38709677 4.77419355 17.30571907 1.17305719
+7.38709677 5.06451613 17.55554644 1.17555546
+7.38709677 5.35483871 17.80639865 1.17806399
+7.38709677 5.64516129 18.06809818 1.18068098
+7.38709677 5.93548387 18.34996260 1.18349963
+7.38709677 6.22580645 18.66701771 1.18667018
+7.38709677 6.51612903 19.04189908 1.19041899
+7.38709677 6.80645161 19.52496415 1.19524964
+7.38709677 7.09677419 19.99999704 1.19999997
+7.38709677 7.38709677 19.99999704 1.19999997
+7.38709677 7.67741935 19.99999704 1.19999997
+7.38709677 7.96774194 19.99999704 1.19999997
+7.38709677 8.25806452 19.99999704 1.19999997
+7.38709677 8.54838710 19.99999704 1.19999997
+7.38709677 8.83870968 19.99999704 1.19999997
+7.38709677 9.12903226 19.99999704 1.19999997
+7.38709677 9.41935484 19.99999704 1.19999997
+7.38709677 9.70967742 19.99999704 1.19999997
+7.38709677 10.00000000 19.99999704 1.19999997
+7.67741935 1.00000000 15.00000000 1.15000000
+7.67741935 1.29032258 15.00000000 1.15000000
+7.67741935 1.58064516 15.00000000 1.15000000
+7.67741935 1.87096774 15.00000000 1.15000000
+7.67741935 2.16129032 15.00000000 1.15000000
+7.67741935 2.45161290 15.00000000 1.15000000
+7.67741935 2.74193548 15.00000000 1.15000000
+7.67741935 3.03225806 15.10357489 1.15103575
+7.67741935 3.32258065 15.70844950 1.15708449
+7.67741935 3.61290323 16.13382374 1.16133824
+7.67741935 3.90322581 16.47922769 1.16479228
+7.67741935 4.19354839 16.77845274 1.16778453
+7.67741935 4.48387097 17.05002382 1.17050024
+7.67741935 4.77419355 17.30571907 1.17305719
+7.67741935 5.06451613 17.55554644 1.17555546
+7.67741935 5.35483871 17.80639865 1.17806399
+7.67741935 5.64516129 18.06809818 1.18068098
+7.67741935 5.93548387 18.34996260 1.18349963
+7.67741935 6.22580645 18.66701771 1.18667018
+7.67741935 6.51612903 19.04189908 1.19041899
+7.67741935 6.80645161 19.52496415 1.19524964
+7.67741935 7.09677419 19.99999704 1.19999997
+7.67741935 7.38709677 19.99999704 1.19999997
+7.67741935 7.67741935 19.99999704 1.19999997
+7.67741935 7.96774194 19.99999704 1.19999997
+7.67741935 8.25806452 19.99999704 1.19999997
+7.67741935 8.54838710 19.99999704 1.19999997
+7.67741935 8.83870968 19.99999704 1.19999997
+7.67741935 9.12903226 19.99999704 1.19999997
+7.67741935 9.41935484 19.99999704 1.19999997
+7.67741935 9.70967742 19.99999704 1.19999997
+7.67741935 10.00000000 19.99999704 1.19999997
+7.96774194 1.00000000 15.00000000 1.15000000
+7.96774194 1.29032258 15.00000000 1.15000000
+7.96774194 1.58064516 15.00000000 1.15000000
+7.96774194 1.87096774 15.00000000 1.15000000
+7.96774194 2.16129032 15.00000000 1.15000000
+7.96774194 2.45161290 15.00000000 1.15000000
+7.96774194 2.74193548 15.00000000 1.15000000
+7.96774194 3.03225806 15.10357489 1.15103575
+7.96774194 3.32258065 15.70844950 1.15708449
+7.96774194 3.61290323 16.13382374 1.16133824
+7.96774194 3.90322581 16.47922769 1.16479228
+7.96774194 4.19354839 16.77845274 1.16778453
+7.96774194 4.48387097 17.05002382 1.17050024
+7.96774194 4.77419355 17.30571907 1.17305719
+7.96774194 5.06451613 17.55554644 1.17555546
+7.96774194 5.35483871 17.80639865 1.17806399
+7.96774194 5.64516129 18.06809818 1.18068098
+7.96774194 5.93548387 18.34996260 1.18349963
+7.96774194 6.22580645 18.66701771 1.18667018
+7.96774194 6.51612903 19.04189908 1.19041899
+7.96774194 6.80645161 19.52496415 1.19524964
+7.96774194 7.09677419 19.99999704 1.19999997
+7.96774194 7.38709677 19.99999704 1.19999997
+7.96774194 7.67741935 19.99999704 1.19999997
+7.96774194 7.96774194 19.99999704 1.19999997
+7.96774194 8.25806452 19.99999704 1.19999997
+7.96774194 8.54838710 19.99999704 1.19999997
+7.96774194 8.83870968 19.99999704 1.19999997
+7.96774194 9.12903226 19.99999704 1.19999997
+7.96774194 9.41935484 19.99999704 1.19999997
+7.96774194 9.70967742 19.99999704 1.19999997
+7.96774194 10.00000000 19.99999704 1.19999997
+8.25806452 1.00000000 15.00000000 1.15000000
+8.25806452 1.29032258 15.00000000 1.15000000
+8.25806452 1.58064516 15.00000000 1.15000000
+8.25806452 1.87096774 15.00000000 1.15000000
+8.25806452 2.16129032 15.00000000 1.15000000
+8.25806452 2.45161290 15.00000000 1.15000000
+8.25806452 2.74193548 15.00000000 1.15000000
+8.25806452 3.03225806 15.10357489 1.15103575
+8.25806452 3.32258065 15.70844950 1.15708449
+8.25806452 3.61290323 16.13382374 1.16133824
+8.25806452 3.90322581 16.47922769 1.16479228
+8.25806452 4.19354839 16.77845274 1.16778453
+8.25806452 4.48387097 17.05002382 1.17050024
+8.25806452 4.77419355 17.30571907 1.17305719
+8.25806452 5.06451613 17.55554644 1.17555546
+8.25806452 5.35483871 17.80639865 1.17806399
+8.25806452 5.64516129 18.06809818 1.18068098
+8.25806452 5.93548387 18.34996260 1.18349963
+8.25806452 6.22580645 18.66701771 1.18667018
+8.25806452 6.51612903 19.04189908 1.19041899
+8.25806452 6.80645161 19.52496415 1.19524964
+8.25806452 7.09677419 19.99999704 1.19999997
+8.25806452 7.38709677 19.99999704 1.19999997
+8.25806452 7.67741935 19.99999704 1.19999997
+8.25806452 7.96774194 19.99999704 1.19999997
+8.25806452 8.25806452 19.99999704 1.19999997
+8.25806452 8.54838710 19.99999704 1.19999997
+8.25806452 8.83870968 19.99999704 1.19999997
+8.25806452 9.12903226 19.99999704 1.19999997
+8.25806452 9.41935484 19.99999704 1.19999997
+8.25806452 9.70967742 19.99999704 1.19999997
+8.25806452 10.00000000 19.99999704 1.19999997
+8.54838710 1.00000000 15.00000000 1.15000000
+8.54838710 1.29032258 15.00000000 1.15000000
+8.54838710 1.58064516 15.00000000 1.15000000
+8.54838710 1.87096774 15.00000000 1.15000000
+8.54838710 2.16129032 15.00000000 1.15000000
+8.54838710 2.45161290 15.00000000 1.15000000
+8.54838710 2.74193548 15.00000000 1.15000000
+8.54838710 3.03225806 15.10357489 1.15103575
+8.54838710 3.32258065 15.70844950 1.15708449
+8.54838710 3.61290323 16.13382374 1.16133824
+8.54838710 3.90322581 16.47922769 1.16479228
+8.54838710 4.19354839 16.77845274 1.16778453
+8.54838710 4.48387097 17.05002382 1.17050024
+8.54838710 4.77419355 17.30571907 1.17305719
+8.54838710 5.06451613 17.55554644 1.17555546
+8.54838710 5.35483871 17.80639865 1.17806399
+8.54838710 5.64516129 18.06809818 1.18068098
+8.54838710 5.93548387 18.34996260 1.18349963
+8.54838710 6.22580645 18.66701771 1.18667018
+8.54838710 6.51612903 19.04189908 1.19041899
+8.54838710 6.80645161 19.52496415 1.19524964
+8.54838710 7.09677419 19.99999704 1.19999997
+8.54838710 7.38709677 19.99999704 1.19999997
+8.54838710 7.67741935 19.99999704 1.19999997
+8.54838710 7.96774194 19.99999704 1.19999997
+8.54838710 8.25806452 19.99999704 1.19999997
+8.54838710 8.54838710 19.99999704 1.19999997
+8.54838710 8.83870968 19.99999704 1.19999997
+8.54838710 9.12903226 19.99999704 1.19999997
+8.54838710 9.41935484 19.99999704 1.19999997
+8.54838710 9.70967742 19.99999704 1.19999997
+8.54838710 10.00000000 19.99999704 1.19999997
+8.83870968 1.00000000 15.00000000 1.15000000
+8.83870968 1.29032258 15.00000000 1.15000000
+8.83870968 1.58064516 15.00000000 1.15000000
+8.83870968 1.87096774 15.00000000 1.15000000
+8.83870968 2.16129032 15.00000000 1.15000000
+8.83870968 2.45161290 15.00000000 1.15000000
+8.83870968 2.74193548 15.00000000 1.15000000
+8.83870968 3.03225806 15.10357489 1.15103575
+8.83870968 3.32258065 15.70844950 1.15708449
+8.83870968 3.61290323 16.13382374 1.16133824
+8.83870968 3.90322581 16.47922769 1.16479228
+8.83870968 4.19354839 16.77845274 1.16778453
+8.83870968 4.48387097 17.05002382 1.17050024
+8.83870968 4.77419355 17.30571907 1.17305719
+8.83870968 5.06451613 17.55554644 1.17555546
+8.83870968 5.35483871 17.80639865 1.17806399
+8.83870968 5.64516129 18.06809818 1.18068098
+8.83870968 5.93548387 18.34996260 1.18349963
+8.83870968 6.22580645 18.66701771 1.18667018
+8.83870968 6.51612903 19.04189908 1.19041899
+8.83870968 6.80645161 19.52496415 1.19524964
+8.83870968 7.09677419 19.99999704 1.19999997
+8.83870968 7.38709677 19.99999704 1.19999997
+8.83870968 7.67741935 19.99999704 1.19999997
+8.83870968 7.96774194 19.99999704 1.19999997
+8.83870968 8.25806452 19.99999704 1.19999997
+8.83870968 8.54838710 19.99999704 1.19999997
+8.83870968 8.83870968 19.99999704 1.19999997
+8.83870968 9.12903226 19.99999704 1.19999997
+8.83870968 9.41935484 19.99999704 1.19999997
+8.83870968 9.70967742 19.99999704 1.19999997
+8.83870968 10.00000000 19.99999704 1.19999997
+9.12903226 1.00000000 15.00000000 1.15000000
+9.12903226 1.29032258 15.00000000 1.15000000
+9.12903226 1.58064516 15.00000000 1.15000000
+9.12903226 1.87096774 15.00000000 1.15000000
+9.12903226 2.16129032 15.00000000 1.15000000
+9.12903226 2.45161290 15.00000000 1.15000000
+9.12903226 2.74193548 15.00000000 1.15000000
+9.12903226 3.03225806 15.10357489 1.15103575
+9.12903226 3.32258065 15.70844950 1.15708449
+9.12903226 3.61290323 16.13382374 1.16133824
+9.12903226 3.90322581 16.47922769 1.16479228
+9.12903226 4.19354839 16.77845274 1.16778453
+9.12903226 4.48387097 17.05002382 1.17050024
+9.12903226 4.77419355 17.30571907 1.17305719
+9.12903226 5.06451613 17.55554644 1.17555546
+9.12903226 5.35483871 17.80639865 1.17806399
+9.12903226 5.64516129 18.06809818 1.18068098
+9.12903226 5.93548387 18.34996260 1.18349963
+9.12903226 6.22580645 18.66701771 1.18667018
+9.12903226 6.51612903 19.04189908 1.19041899
+9.12903226 6.80645161 19.52496415 1.19524964
+9.12903226 7.09677419 19.99999704 1.19999997
+9.12903226 7.38709677 19.99999704 1.19999997
+9.12903226 7.67741935 19.99999704 1.19999997
+9.12903226 7.96774194 19.99999704 1.19999997
+9.12903226 8.25806452 19.99999704 1.19999997
+9.12903226 8.54838710 19.99999704 1.19999997
+9.12903226 8.83870968 19.99999704 1.19999997
+9.12903226 9.12903226 19.99999704 1.19999997
+9.12903226 9.41935484 19.99999704 1.19999997
+9.12903226 9.70967742 19.99999704 1.19999997
+9.12903226 10.00000000 19.99999704 1.19999997
+9.41935484 1.00000000 15.00000000 1.15000000
+9.41935484 1.29032258 15.00000000 1.15000000
+9.41935484 1.58064516 15.00000000 1.15000000
+9.41935484 1.87096774 15.00000000 1.15000000
+9.41935484 2.16129032 15.00000000 1.15000000
+9.41935484 2.45161290 15.00000000 1.15000000
+9.41935484 2.74193548 15.00000000 1.15000000
+9.41935484 3.03225806 15.10357489 1.15103575
+9.41935484 3.32258065 15.70844950 1.15708449
+9.41935484 3.61290323 16.13382374 1.16133824
+9.41935484 3.90322581 16.47922769 1.16479228
+9.41935484 4.19354839 16.77845274 1.16778453
+9.41935484 4.48387097 17.05002382 1.17050024
+9.41935484 4.77419355 17.30571907 1.17305719
+9.41935484 5.06451613 17.55554644 1.17555546
+9.41935484 5.35483871 17.80639865 1.17806399
+9.41935484 5.64516129 18.06809818 1.18068098
+9.41935484 5.93548387 18.34996260 1.18349963
+9.41935484 6.22580645 18.66701771 1.18667018
+9.41935484 6.51612903 19.04189908 1.19041899
+9.41935484 6.80645161 19.52496415 1.19524964
+9.41935484 7.09677419 19.99999704 1.19999997
+9.41935484 7.38709677 19.99999704 1.19999997
+9.41935484 7.67741935 19.99999704 1.19999997
+9.41935484 7.96774194 19.99999704 1.19999997
+9.41935484 8.25806452 19.99999704 1.19999997
+9.41935484 8.54838710 19.99999704 1.19999997
+9.41935484 8.83870968 19.99999704 1.19999997
+9.41935484 9.12903226 19.99999704 1.19999997
+9.41935484 9.41935484 19.99999704 1.19999997
+9.41935484 9.70967742 19.99999704 1.19999997
+9.41935484 10.00000000 19.99999704 1.19999997
+9.70967742 1.00000000 15.00000000 1.15000000
+9.70967742 1.29032258 15.00000000 1.15000000
+9.70967742 1.58064516 15.00000000 1.15000000
+9.70967742 1.87096774 15.00000000 1.15000000
+9.70967742 2.16129032 15.00000000 1.15000000
+9.70967742 2.45161290 15.00000000 1.15000000
+9.70967742 2.74193548 15.00000000 1.15000000
+9.70967742 3.03225806 15.10357489 1.15103575
+9.70967742 3.32258065 15.70844950 1.15708449
+9.70967742 3.61290323 16.13382374 1.16133824
+9.70967742 3.90322581 16.47922769 1.16479228
+9.70967742 4.19354839 16.77845274 1.16778453
+9.70967742 4.48387097 17.05002382 1.17050024
+9.70967742 4.77419355 17.30571907 1.17305719
+9.70967742 5.06451613 17.55554644 1.17555546
+9.70967742 5.35483871 17.80639865 1.17806399
+9.70967742 5.64516129 18.06809818 1.18068098
+9.70967742 5.93548387 18.34996260 1.18349963
+9.70967742 6.22580645 18.66701771 1.18667018
+9.70967742 6.51612903 19.04189908 1.19041899
+9.70967742 6.80645161 19.52496415 1.19524964
+9.70967742 7.09677419 19.99999704 1.19999997
+9.70967742 7.38709677 19.99999704 1.19999997
+9.70967742 7.67741935 19.99999704 1.19999997
+9.70967742 7.96774194 19.99999704 1.19999997
+9.70967742 8.25806452 19.99999704 1.19999997
+9.70967742 8.54838710 19.99999704 1.19999997
+9.70967742 8.83870968 19.99999704 1.19999997
+9.70967742 9.12903226 19.99999704 1.19999997
+9.70967742 9.41935484 19.99999704 1.19999997
+9.70967742 9.70967742 19.99999704 1.19999997
+9.70967742 10.00000000 19.99999704 1.19999997
+10.00000000 1.00000000 15.00000000 1.15000000
+10.00000000 1.29032258 15.00000000 1.15000000
+10.00000000 1.58064516 15.00000000 1.15000000
+10.00000000 1.87096774 15.00000000 1.15000000
+10.00000000 2.16129032 15.00000000 1.15000000
+10.00000000 2.45161290 15.00000000 1.15000000
+10.00000000 2.74193548 15.00000000 1.15000000
+10.00000000 3.03225806 15.10357489 1.15103575
+10.00000000 3.32258065 15.70844950 1.15708449
+10.00000000 3.61290323 16.13382374 1.16133824
+10.00000000 3.90322581 16.47922769 1.16479228
+10.00000000 4.19354839 16.77845274 1.16778453
+10.00000000 4.48387097 17.05002382 1.17050024
+10.00000000 4.77419355 17.30571907 1.17305719
+10.00000000 5.06451613 17.55554644 1.17555546
+10.00000000 5.35483871 17.80639865 1.17806399
+10.00000000 5.64516129 18.06809818 1.18068098
+10.00000000 5.93548387 18.34996260 1.18349963
+10.00000000 6.22580645 18.66701771 1.18667018
+10.00000000 6.51612903 19.04189908 1.19041899
+10.00000000 6.80645161 19.52496415 1.19524964
+10.00000000 7.09677419 19.99999704 1.19999997
+10.00000000 7.38709677 19.99999704 1.19999997
+10.00000000 7.67741935 19.99999704 1.19999997
+10.00000000 7.96774194 19.99999704 1.19999997
+10.00000000 8.25806452 19.99999704 1.19999997
+10.00000000 8.54838710 19.99999704 1.19999997
+10.00000000 8.83870968 19.99999704 1.19999997
+10.00000000 9.12903226 19.99999704 1.19999997
+10.00000000 9.41935484 19.99999704 1.19999997
+10.00000000 9.70967742 19.99999704 1.19999997
+10.00000000 10.00000000 19.99999704 1.19999997
diff --git a/examples/mamdani/octave/mamdani_tip_calculator.fll b/examples/mamdani/octave/mamdani_tip_calculator.fll
new file mode 100644
index 0000000..b6c1920
--- /dev/null
+++ b/examples/mamdani/octave/mamdani_tip_calculator.fll
@@ -0,0 +1,42 @@
+Engine: Mamdani-Tip-Calculator
+InputVariable: FoodQuality
+ enabled: true
+ range: 1.000 10.000
+ term: Bad Trapezoid 0.000 1.000 3.000 7.000
+ term: Good Trapezoid 3.000 7.000 10.000 11.000
+InputVariable: Service
+ enabled: true
+ range: 1.000 10.000
+ term: Bad Trapezoid 0.000 1.000 3.000 7.000
+ term: Good Trapezoid 3.000 7.000 10.000 11.000
+OutputVariable: Tip
+ enabled: true
+ range: 0.000 30.000
+ accumulation: AlgebraicSum
+ defuzzifier: Centroid 200
+ default: nan
+ lock-previous: false
+ lock-range: false
+ term: AboutTenPercent Gaussian 10.000 2.000
+ term: AboutFifteenPercent Gaussian 15.000 2.000
+ term: AboutTwentyPercent Gaussian 20.000 2.000
+OutputVariable: CheckPlusTip
+ enabled: true
+ range: 1.000 1.300
+ accumulation: AlgebraicSum
+ defuzzifier: Centroid 200
+ default: nan
+ lock-previous: false
+ lock-range: false
+ term: PlusAboutTenPercent Gaussian 1.100 0.020
+ term: PlusAboutFifteenPercent Gaussian 1.150 0.020
+ term: PlusAboutTwentyPercent Gaussian 1.200 0.020
+RuleBlock:
+ enabled: true
+ conjunction: AlgebraicProduct
+ disjunction: Maximum
+ activation: Minimum
+ rule: if FoodQuality is Bad and Service is Bad then Tip is AboutTenPercent and CheckPlusTip is PlusAboutTenPercent
+ rule: if FoodQuality is Bad and Service is Good then Tip is AboutFifteenPercent and CheckPlusTip is PlusAboutFifteenPercent
+ rule: if FoodQuality is Good and Service is Bad then Tip is AboutFifteenPercent and CheckPlusTip is PlusAboutFifteenPercent
+ rule: if FoodQuality is Good and Service is Good then Tip is AboutTwentyPercent and CheckPlusTip is PlusAboutTwentyPercent \ No newline at end of file
diff --git a/examples/mamdani/octave/mamdani_tip_calculator.java b/examples/mamdani/octave/mamdani_tip_calculator.java
new file mode 100644
index 0000000..bea319b
--- /dev/null
+++ b/examples/mamdani/octave/mamdani_tip_calculator.java
@@ -0,0 +1,76 @@
+import com.fuzzylite.*;
+import com.fuzzylite.defuzzifier.*;
+import com.fuzzylite.factory.*;
+import com.fuzzylite.hedge.*;
+import com.fuzzylite.imex.*;
+import com.fuzzylite.norm.*;
+import com.fuzzylite.norm.s.*;
+import com.fuzzylite.norm.t.*;
+import com.fuzzylite.rule.*;
+import com.fuzzylite.term.*;
+import com.fuzzylite.variable.*;
+
+public class mamdani_tip_calculator{
+public static void main(String[] args){
+Engine engine = new Engine();
+engine.setName("Mamdani-Tip-Calculator");
+
+InputVariable inputVariable1 = new InputVariable();
+inputVariable1.setEnabled(true);
+inputVariable1.setName("FoodQuality");
+inputVariable1.setRange(1.000, 10.000);
+inputVariable1.addTerm(new Trapezoid("Bad", 0.000, 1.000, 3.000, 7.000));
+inputVariable1.addTerm(new Trapezoid("Good", 3.000, 7.000, 10.000, 11.000));
+engine.addInputVariable(inputVariable1);
+
+InputVariable inputVariable2 = new InputVariable();
+inputVariable2.setEnabled(true);
+inputVariable2.setName("Service");
+inputVariable2.setRange(1.000, 10.000);
+inputVariable2.addTerm(new Trapezoid("Bad", 0.000, 1.000, 3.000, 7.000));
+inputVariable2.addTerm(new Trapezoid("Good", 3.000, 7.000, 10.000, 11.000));
+engine.addInputVariable(inputVariable2);
+
+OutputVariable outputVariable1 = new OutputVariable();
+outputVariable1.setEnabled(true);
+outputVariable1.setName("Tip");
+outputVariable1.setRange(0.000, 30.000);
+outputVariable1.fuzzyOutput().setAccumulation(new AlgebraicSum());
+outputVariable1.setDefuzzifier(new Centroid(200));
+outputVariable1.setDefaultValue(Double.NaN);
+outputVariable1.setLockPreviousOutputValue(false);
+outputVariable1.setLockOutputValueInRange(false);
+outputVariable1.addTerm(new Gaussian("AboutTenPercent", 10.000, 2.000));
+outputVariable1.addTerm(new Gaussian("AboutFifteenPercent", 15.000, 2.000));
+outputVariable1.addTerm(new Gaussian("AboutTwentyPercent", 20.000, 2.000));
+engine.addOutputVariable(outputVariable1);
+
+OutputVariable outputVariable2 = new OutputVariable();
+outputVariable2.setEnabled(true);
+outputVariable2.setName("CheckPlusTip");
+outputVariable2.setRange(1.000, 1.300);
+outputVariable2.fuzzyOutput().setAccumulation(new AlgebraicSum());
+outputVariable2.setDefuzzifier(new Centroid(200));
+outputVariable2.setDefaultValue(Double.NaN);
+outputVariable2.setLockPreviousOutputValue(false);
+outputVariable2.setLockOutputValueInRange(false);
+outputVariable2.addTerm(new Gaussian("PlusAboutTenPercent", 1.100, 0.020));
+outputVariable2.addTerm(new Gaussian("PlusAboutFifteenPercent", 1.150, 0.020));
+outputVariable2.addTerm(new Gaussian("PlusAboutTwentyPercent", 1.200, 0.020));
+engine.addOutputVariable(outputVariable2);
+
+RuleBlock ruleBlock = new RuleBlock();
+ruleBlock.setEnabled(true);
+ruleBlock.setName("");
+ruleBlock.setConjunction(new AlgebraicProduct());
+ruleBlock.setDisjunction(new Maximum());
+ruleBlock.setActivation(new Minimum());
+ruleBlock.addRule(Rule.parse("if FoodQuality is Bad and Service is Bad then Tip is AboutTenPercent and CheckPlusTip is PlusAboutTenPercent", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is Bad and Service is Good then Tip is AboutFifteenPercent and CheckPlusTip is PlusAboutFifteenPercent", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is Good and Service is Bad then Tip is AboutFifteenPercent and CheckPlusTip is PlusAboutFifteenPercent", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is Good and Service is Good then Tip is AboutTwentyPercent and CheckPlusTip is PlusAboutTwentyPercent", engine));
+engine.addRuleBlock(ruleBlock);
+
+
+}
+}