summaryrefslogtreecommitdiff
path: root/examples/takagi-sugeno/octave
diff options
context:
space:
mode:
Diffstat (limited to 'examples/takagi-sugeno/octave')
-rw-r--r--examples/takagi-sugeno/octave/COPYING674
-rw-r--r--examples/takagi-sugeno/octave/DESCRIPTION12
-rw-r--r--examples/takagi-sugeno/octave/cubic_approximator.cpp68
-rw-r--r--examples/takagi-sugeno/octave/cubic_approximator.fcl57
-rw-r--r--examples/takagi-sugeno/octave/cubic_approximator.fis56
-rw-r--r--examples/takagi-sugeno/octave/cubic_approximator.fld1026
-rw-r--r--examples/takagi-sugeno/octave/cubic_approximator.fll50
-rw-r--r--examples/takagi-sugeno/octave/cubic_approximator.java78
-rw-r--r--examples/takagi-sugeno/octave/heart_disease_risk.cpp69
-rw-r--r--examples/takagi-sugeno/octave/heart_disease_risk.fcl58
-rw-r--r--examples/takagi-sugeno/octave/heart_disease_risk.fis56
-rw-r--r--examples/takagi-sugeno/octave/heart_disease_risk.fld1026
-rw-r--r--examples/takagi-sugeno/octave/heart_disease_risk.fll48
-rw-r--r--examples/takagi-sugeno/octave/heart_disease_risk.java79
-rw-r--r--examples/takagi-sugeno/octave/linear_tip_calculator.cpp52
-rw-r--r--examples/takagi-sugeno/octave/linear_tip_calculator.fcl41
-rw-r--r--examples/takagi-sugeno/octave/linear_tip_calculator.fis39
-rw-r--r--examples/takagi-sugeno/octave/linear_tip_calculator.fld1026
-rw-r--r--examples/takagi-sugeno/octave/linear_tip_calculator.fll31
-rw-r--r--examples/takagi-sugeno/octave/linear_tip_calculator.java62
-rw-r--r--examples/takagi-sugeno/octave/sugeno_tip_calculator.cpp86
-rw-r--r--examples/takagi-sugeno/octave/sugeno_tip_calculator.fcl67
-rw-r--r--examples/takagi-sugeno/octave/sugeno_tip_calculator.fis61
-rw-r--r--examples/takagi-sugeno/octave/sugeno_tip_calculator.fld1026
-rw-r--r--examples/takagi-sugeno/octave/sugeno_tip_calculator.fll59
-rw-r--r--examples/takagi-sugeno/octave/sugeno_tip_calculator.java96
26 files changed, 6003 insertions, 0 deletions
diff --git a/examples/takagi-sugeno/octave/COPYING b/examples/takagi-sugeno/octave/COPYING
new file mode 100644
index 0000000..94a9ed0
--- /dev/null
+++ b/examples/takagi-sugeno/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/takagi-sugeno/octave/DESCRIPTION b/examples/takagi-sugeno/octave/DESCRIPTION
new file mode 100644
index 0000000..35df57d
--- /dev/null
+++ b/examples/takagi-sugeno/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/takagi-sugeno/octave/cubic_approximator.cpp b/examples/takagi-sugeno/octave/cubic_approximator.cpp
new file mode 100644
index 0000000..6941fa5
--- /dev/null
+++ b/examples/takagi-sugeno/octave/cubic_approximator.cpp
@@ -0,0 +1,68 @@
+#include <fl/Headers.h>
+
+int main(int argc, char** argv){
+using namespace fl;
+
+Engine* engine = new Engine;
+engine->setName("Cubic-Approximator");
+
+InputVariable* inputVariable = new InputVariable;
+inputVariable->setEnabled(true);
+inputVariable->setName("X");
+inputVariable->setRange(-5.000, 5.000);
+inputVariable->addTerm(new Triangle("AboutNegFive", -6.000, -5.000, -4.000));
+inputVariable->addTerm(new Triangle("AboutNegFour", -5.000, -4.000, -3.000));
+inputVariable->addTerm(new Triangle("AboutNegThree", -4.000, -3.000, -2.000));
+inputVariable->addTerm(new Triangle("AboutNegTwo", -3.000, -2.000, -1.000));
+inputVariable->addTerm(new Triangle("AboutNegOne", -2.000, -1.000, 0.000));
+inputVariable->addTerm(new Triangle("AboutZero", -1.000, 0.000, 1.000));
+inputVariable->addTerm(new Triangle("AboutOne", 0.000, 1.000, 2.000));
+inputVariable->addTerm(new Triangle("AboutTwo", 1.000, 2.000, 3.000));
+inputVariable->addTerm(new Triangle("AboutThree", 2.000, 3.000, 4.000));
+inputVariable->addTerm(new Triangle("AboutFour", 3.000, 4.000, 5.000));
+inputVariable->addTerm(new Triangle("AboutFive", 4.000, 5.000, 6.000));
+engine->addInputVariable(inputVariable);
+
+OutputVariable* outputVariable = new OutputVariable;
+outputVariable->setEnabled(true);
+outputVariable->setName("ApproxXCubed");
+outputVariable->setRange(-5.000, 5.000);
+outputVariable->fuzzyOutput()->setAccumulation(fl::null);
+outputVariable->setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable->setDefaultValue(fl::nan);
+outputVariable->setLockPreviousOutputValue(false);
+outputVariable->setLockOutputValueInRange(false);
+outputVariable->addTerm(Linear::create("TangentatNegFive", engine, 75.000, 250.000));
+outputVariable->addTerm(Linear::create("TangentatNegFour", engine, 48.000, 128.000));
+outputVariable->addTerm(Linear::create("TangentatNegThree", engine, 27.000, 54.000));
+outputVariable->addTerm(Linear::create("TangentatNegTwo", engine, 12.000, 16.000));
+outputVariable->addTerm(Linear::create("TangentatNegOne", engine, 3.000, 2.000));
+outputVariable->addTerm(Linear::create("TangentatZero", engine, 0.000, 0.000));
+outputVariable->addTerm(Linear::create("TangentatOne", engine, 3.000, -2.000));
+outputVariable->addTerm(Linear::create("TangentatTwo", engine, 12.000, -16.000));
+outputVariable->addTerm(Linear::create("TangentatThree", engine, 27.000, -54.000));
+outputVariable->addTerm(Linear::create("TangentatFour", engine, 48.000, -128.000));
+outputVariable->addTerm(Linear::create("TangentatFive", engine, 75.000, -250.000));
+engine->addOutputVariable(outputVariable);
+
+RuleBlock* ruleBlock = new RuleBlock;
+ruleBlock->setEnabled(true);
+ruleBlock->setName("");
+ruleBlock->setConjunction(fl::null);
+ruleBlock->setDisjunction(fl::null);
+ruleBlock->setActivation(fl::null);
+ruleBlock->addRule(fl::Rule::parse("if X is AboutNegFive then ApproxXCubed is TangentatNegFive", engine));
+ruleBlock->addRule(fl::Rule::parse("if X is AboutNegFour then ApproxXCubed is TangentatNegFour", engine));
+ruleBlock->addRule(fl::Rule::parse("if X is AboutNegThree then ApproxXCubed is TangentatNegThree", engine));
+ruleBlock->addRule(fl::Rule::parse("if X is AboutNegTwo then ApproxXCubed is TangentatNegTwo", engine));
+ruleBlock->addRule(fl::Rule::parse("if X is AboutNegOne then ApproxXCubed is TangentatNegOne", engine));
+ruleBlock->addRule(fl::Rule::parse("if X is AboutZero then ApproxXCubed is TangentatZero", engine));
+ruleBlock->addRule(fl::Rule::parse("if X is AboutOne then ApproxXCubed is TangentatOne", engine));
+ruleBlock->addRule(fl::Rule::parse("if X is AboutTwo then ApproxXCubed is TangentatTwo", engine));
+ruleBlock->addRule(fl::Rule::parse("if X is AboutThree then ApproxXCubed is TangentatThree", engine));
+ruleBlock->addRule(fl::Rule::parse("if X is AboutFour then ApproxXCubed is TangentatFour", engine));
+ruleBlock->addRule(fl::Rule::parse("if X is AboutFive then ApproxXCubed is TangentatFive", engine));
+engine->addRuleBlock(ruleBlock);
+
+
+}
diff --git a/examples/takagi-sugeno/octave/cubic_approximator.fcl b/examples/takagi-sugeno/octave/cubic_approximator.fcl
new file mode 100644
index 0000000..db88e44
--- /dev/null
+++ b/examples/takagi-sugeno/octave/cubic_approximator.fcl
@@ -0,0 +1,57 @@
+FUNCTION_BLOCK Cubic-Approximator
+
+VAR_INPUT
+ X: REAL;
+END_VAR
+
+VAR_OUTPUT
+ ApproxXCubed: REAL;
+END_VAR
+
+FUZZIFY X
+ RANGE := (-5.000 .. 5.000);
+ TERM AboutNegFive := Triangle -6.000 -5.000 -4.000;
+ TERM AboutNegFour := Triangle -5.000 -4.000 -3.000;
+ TERM AboutNegThree := Triangle -4.000 -3.000 -2.000;
+ TERM AboutNegTwo := Triangle -3.000 -2.000 -1.000;
+ TERM AboutNegOne := Triangle -2.000 -1.000 0.000;
+ TERM AboutZero := Triangle -1.000 0.000 1.000;
+ TERM AboutOne := Triangle 0.000 1.000 2.000;
+ TERM AboutTwo := Triangle 1.000 2.000 3.000;
+ TERM AboutThree := Triangle 2.000 3.000 4.000;
+ TERM AboutFour := Triangle 3.000 4.000 5.000;
+ TERM AboutFive := Triangle 4.000 5.000 6.000;
+END_FUZZIFY
+
+DEFUZZIFY ApproxXCubed
+ RANGE := (-5.000 .. 5.000);
+ TERM TangentatNegFive := Linear 75.000 250.000;
+ TERM TangentatNegFour := Linear 48.000 128.000;
+ TERM TangentatNegThree := Linear 27.000 54.000;
+ TERM TangentatNegTwo := Linear 12.000 16.000;
+ TERM TangentatNegOne := Linear 3.000 2.000;
+ TERM TangentatZero := Linear 0.000 0.000;
+ TERM TangentatOne := Linear 3.000 -2.000;
+ TERM TangentatTwo := Linear 12.000 -16.000;
+ TERM TangentatThree := Linear 27.000 -54.000;
+ TERM TangentatFour := Linear 48.000 -128.000;
+ TERM TangentatFive := Linear 75.000 -250.000;
+ METHOD : COGS;
+ DEFAULT := nan;
+END_DEFUZZIFY
+
+RULEBLOCK
+ RULE 1 : if X is AboutNegFive then ApproxXCubed is TangentatNegFive
+ RULE 2 : if X is AboutNegFour then ApproxXCubed is TangentatNegFour
+ RULE 3 : if X is AboutNegThree then ApproxXCubed is TangentatNegThree
+ RULE 4 : if X is AboutNegTwo then ApproxXCubed is TangentatNegTwo
+ RULE 5 : if X is AboutNegOne then ApproxXCubed is TangentatNegOne
+ RULE 6 : if X is AboutZero then ApproxXCubed is TangentatZero
+ RULE 7 : if X is AboutOne then ApproxXCubed is TangentatOne
+ RULE 8 : if X is AboutTwo then ApproxXCubed is TangentatTwo
+ RULE 9 : if X is AboutThree then ApproxXCubed is TangentatThree
+ RULE 10 : if X is AboutFour then ApproxXCubed is TangentatFour
+ RULE 11 : if X is AboutFive then ApproxXCubed is TangentatFive
+END_RULEBLOCK
+
+END_FUNCTION_BLOCK
diff --git a/examples/takagi-sugeno/octave/cubic_approximator.fis b/examples/takagi-sugeno/octave/cubic_approximator.fis
new file mode 100644
index 0000000..b69675b
--- /dev/null
+++ b/examples/takagi-sugeno/octave/cubic_approximator.fis
@@ -0,0 +1,56 @@
+[System]
+Name='Cubic-Approximator'
+Type='sugeno'
+NumInputs=1
+NumOutputs=1
+NumRules=11
+AndMethod=''
+OrMethod=''
+ImpMethod=''
+AggMethod=''
+DefuzzMethod='wtaver'
+
+[Input1]
+Name='X'
+Range=[-5.000 5.000]
+NumMFs=11
+MF1='AboutNegFive':'trimf',[-6.000 -5.000 -4.000]
+MF2='AboutNegFour':'trimf',[-5.000 -4.000 -3.000]
+MF3='AboutNegThree':'trimf',[-4.000 -3.000 -2.000]
+MF4='AboutNegTwo':'trimf',[-3.000 -2.000 -1.000]
+MF5='AboutNegOne':'trimf',[-2.000 -1.000 0.000]
+MF6='AboutZero':'trimf',[-1.000 0.000 1.000]
+MF7='AboutOne':'trimf',[0.000 1.000 2.000]
+MF8='AboutTwo':'trimf',[1.000 2.000 3.000]
+MF9='AboutThree':'trimf',[2.000 3.000 4.000]
+MF10='AboutFour':'trimf',[3.000 4.000 5.000]
+MF11='AboutFive':'trimf',[4.000 5.000 6.000]
+
+[Output1]
+Name='ApproxXCubed'
+Range=[-5.000 5.000]
+NumMFs=11
+MF1='TangentatNegFive':'linear',[75.000 250.000]
+MF2='TangentatNegFour':'linear',[48.000 128.000]
+MF3='TangentatNegThree':'linear',[27.000 54.000]
+MF4='TangentatNegTwo':'linear',[12.000 16.000]
+MF5='TangentatNegOne':'linear',[3.000 2.000]
+MF6='TangentatZero':'linear',[0.000 0.000]
+MF7='TangentatOne':'linear',[3.000 -2.000]
+MF8='TangentatTwo':'linear',[12.000 -16.000]
+MF9='TangentatThree':'linear',[27.000 -54.000]
+MF10='TangentatFour':'linear',[48.000 -128.000]
+MF11='TangentatFive':'linear',[75.000 -250.000]
+
+[Rules]
+1.000 , 1.000 (1.000) : 1
+2.000 , 2.000 (1.000) : 1
+3.000 , 3.000 (1.000) : 1
+4.000 , 4.000 (1.000) : 1
+5.000 , 5.000 (1.000) : 1
+6.000 , 6.000 (1.000) : 1
+7.000 , 7.000 (1.000) : 1
+8.000 , 8.000 (1.000) : 1
+9.000 , 9.000 (1.000) : 1
+10.000 , 10.000 (1.000) : 1
+11.000 , 11.000 (1.000) : 1
diff --git a/examples/takagi-sugeno/octave/cubic_approximator.fld b/examples/takagi-sugeno/octave/cubic_approximator.fld
new file mode 100644
index 0000000..e13c169
--- /dev/null
+++ b/examples/takagi-sugeno/octave/cubic_approximator.fld
@@ -0,0 +1,1026 @@
+#@Engine: Cubic-Approximator;
+#@InputVariable: X; @OutputVariable: ApproxXCubed;
+-5.00000000 -125.00000000
+-4.99022483 -124.14236490
+-4.98044966 -123.28988972
+-4.97067449 -122.44257445
+-4.96089932 -121.60041910
+-4.95112414 -120.76342366
+-4.94134897 -119.93158814
+-4.93157380 -119.10491253
+-4.92179863 -118.28339683
+-4.91202346 -117.46704105
+-4.90224829 -116.65584518
+-4.89247312 -115.84980923
+-4.88269795 -115.04893319
+-4.87292278 -114.25321706
+-4.86314761 -113.46266085
+-4.85337243 -112.67726456
+-4.84359726 -111.89702818
+-4.83382209 -111.12195171
+-4.82404692 -110.35203516
+-4.81427175 -109.58727852
+-4.80449658 -108.82768179
+-4.79472141 -108.07324498
+-4.78494624 -107.32396809
+-4.77517107 -106.57985111
+-4.76539589 -105.84089404
+-4.75562072 -105.10709689
+-4.74584555 -104.37845965
+-4.73607038 -103.65498233
+-4.72629521 -102.93666492
+-4.71652004 -102.22350742
+-4.70674487 -101.51550984
+-4.69696970 -100.81267218
+-4.68719453 -100.11499442
+-4.67741935 -99.42247659
+-4.66764418 -98.73511866
+-4.65786901 -98.05292065
+-4.64809384 -97.37588256
+-4.63831867 -96.70400438
+-4.62854350 -96.03728611
+-4.61876833 -95.37572776
+-4.60899316 -94.71932933
+-4.59921799 -94.06809080
+-4.58944282 -93.42201219
+-4.57966764 -92.78109350
+-4.56989247 -92.14533472
+-4.56011730 -91.51473586
+-4.55034213 -90.88929690
+-4.54056696 -90.26901787
+-4.53079179 -89.65389875
+-4.52101662 -89.04393954
+-4.51124145 -88.43914024
+-4.50146628 -87.83950086
+-4.49169110 -87.24502140
+-4.48191593 -86.65570185
+-4.47214076 -86.07154221
+-4.46236559 -85.49254249
+-4.45259042 -84.91870268
+-4.44281525 -84.35002279
+-4.43304008 -83.78650281
+-4.42326491 -83.22814275
+-4.41348974 -82.67494260
+-4.40371457 -82.12690236
+-4.39393939 -81.58402204
+-4.38416422 -81.04630163
+-4.37438905 -80.51374114
+-4.36461388 -79.98634056
+-4.35483871 -79.46409990
+-4.34506354 -78.94701915
+-4.33528837 -78.43509831
+-4.32551320 -77.92833739
+-4.31573803 -77.42673638
+-4.30596285 -76.93029529
+-4.29618768 -76.43901411
+-4.28641251 -75.95289285
+-4.27663734 -75.47193150
+-4.26686217 -74.99613006
+-4.25708700 -74.52548854
+-4.24731183 -74.06000694
+-4.23753666 -73.59968525
+-4.22776149 -73.14452347
+-4.21798631 -72.69452160
+-4.20821114 -72.24967966
+-4.19843597 -71.80999762
+-4.18866080 -71.37547550
+-4.17888563 -70.94611329
+-4.16911046 -70.52191100
+-4.15933529 -70.10286863
+-4.14956012 -69.68898616
+-4.13978495 -69.28026361
+-4.13000978 -68.87670098
+-4.12023460 -68.47829826
+-4.11045943 -68.08505545
+-4.10068426 -67.69697256
+-4.09090909 -67.31404959
+-4.08113392 -66.93628652
+-4.07135875 -66.56368338
+-4.06158358 -66.19624014
+-4.05180841 -65.83395682
+-4.04203324 -65.47683342
+-4.03225806 -65.12486993
+-4.02248289 -64.77806635
+-4.01270772 -64.43642269
+-4.00293255 -64.09993894
+-3.99315738 -63.60411131
+-3.98338221 -63.04196730
+-3.97360704 -62.48383657
+-3.96383187 -61.92971910
+-3.95405670 -61.37961490
+-3.94428152 -60.83352396
+-3.93450635 -60.29144630
+-3.92473118 -59.75338189
+-3.91495601 -59.21933076
+-3.90518084 -58.68929289
+-3.89540567 -58.16326829
+-3.88563050 -57.64125696
+-3.87585533 -57.12325889
+-3.86608016 -56.60927409
+-3.85630499 -56.09930255
+-3.84652981 -55.59334428
+-3.83675464 -55.09139928
+-3.82697947 -54.59346755
+-3.81720430 -54.09954908
+-3.80742913 -53.60964388
+-3.79765396 -53.12375195
+-3.78787879 -52.64187328
+-3.77810362 -52.16400788
+-3.76832845 -51.69015574
+-3.75855327 -51.22031688
+-3.74877810 -50.75449128
+-3.73900293 -50.29267894
+-3.72922776 -49.83487987
+-3.71945259 -49.38109407
+-3.70967742 -48.93132154
+-3.69990225 -48.48556227
+-3.69012708 -48.04381627
+-3.68035191 -47.60608354
+-3.67057674 -47.17236407
+-3.66080156 -46.74265787
+-3.65102639 -46.31696494
+-3.64125122 -45.89528527
+-3.63147605 -45.47761887
+-3.62170088 -45.06396574
+-3.61192571 -44.65432587
+-3.60215054 -44.24869927
+-3.59237537 -43.84708594
+-3.58260020 -43.44948587
+-3.57282502 -43.05589907
+-3.56304985 -42.66632554
+-3.55327468 -42.28076527
+-3.54349951 -41.89921827
+-3.53372434 -41.52168454
+-3.52394917 -41.14816407
+-3.51417400 -40.77865687
+-3.50439883 -40.41316294
+-3.49462366 -40.05168228
+-3.48484848 -39.69421488
+-3.47507331 -39.34076074
+-3.46529814 -38.99131988
+-3.45552297 -38.64589228
+-3.44574780 -38.30447795
+-3.43597263 -37.96707688
+-3.42619746 -37.63368908
+-3.41642229 -37.30431455
+-3.40664712 -36.97895328
+-3.39687195 -36.65760528
+-3.38709677 -36.34027055
+-3.37732160 -36.02694909
+-3.36754643 -35.71764089
+-3.35777126 -35.41234596
+-3.34799609 -35.11106429
+-3.33822092 -34.81379589
+-3.32844575 -34.52054076
+-3.31867058 -34.23129889
+-3.30889541 -33.94607030
+-3.29912023 -33.66485496
+-3.28934506 -33.38765290
+-3.27956989 -33.11446410
+-3.26979472 -32.84528857
+-3.26001955 -32.58012630
+-3.25024438 -32.31897730
+-3.24046921 -32.06184157
+-3.23069404 -31.80871911
+-3.22091887 -31.55960991
+-3.21114370 -31.31451398
+-3.20136852 -31.07343131
+-3.19159335 -30.83636192
+-3.18181818 -30.60330579
+-3.17204301 -30.37426292
+-3.16226784 -30.14923332
+-3.15249267 -29.92821699
+-3.14271750 -29.71121393
+-3.13294233 -29.49822413
+-3.12316716 -29.28924760
+-3.11339198 -29.08428433
+-3.10361681 -28.88333434
+-3.09384164 -28.68639761
+-3.08406647 -28.49347414
+-3.07429130 -28.30456394
+-3.06451613 -28.11966701
+-3.05474096 -27.93878335
+-3.04496579 -27.76191295
+-3.03519062 -27.58905582
+-3.02541544 -27.42021196
+-3.01564027 -27.25538136
+-3.00586510 -27.09456403
+-2.99608993 -26.86728700
+-2.98631476 -26.53751114
+-2.97653959 -26.21060190
+-2.96676442 -25.88655928
+-2.95698925 -25.56538328
+-2.94721408 -25.24707390
+-2.93743891 -24.93163113
+-2.92766373 -24.61905499
+-2.91788856 -24.30934546
+-2.90811339 -24.00250256
+-2.89833822 -23.69852627
+-2.88856305 -23.39741660
+-2.87878788 -23.09917355
+-2.86901271 -22.80379712
+-2.85923754 -22.51128731
+-2.84946237 -22.22164412
+-2.83968719 -21.93486755
+-2.82991202 -21.65095759
+-2.82013685 -21.36991426
+-2.81036168 -21.09173754
+-2.80058651 -20.81642745
+-2.79081134 -20.54398397
+-2.78103617 -20.27440711
+-2.77126100 -20.00769687
+-2.76148583 -19.74385325
+-2.75171065 -19.48287625
+-2.74193548 -19.22476587
+-2.73216031 -18.96952211
+-2.72238514 -18.71714496
+-2.71260997 -18.46763444
+-2.70283480 -18.22099053
+-2.69305963 -17.97721324
+-2.68328446 -17.73630258
+-2.67350929 -17.49825853
+-2.66373412 -17.26308110
+-2.65395894 -17.03077029
+-2.64418377 -16.80132610
+-2.63440860 -16.57474853
+-2.62463343 -16.35103757
+-2.61485826 -16.13019324
+-2.60508309 -15.91221552
+-2.59530792 -15.69710443
+-2.58553275 -15.48485995
+-2.57575758 -15.27548209
+-2.56598240 -15.06897086
+-2.55620723 -14.86532624
+-2.54643206 -14.66454824
+-2.53665689 -14.46663685
+-2.52688172 -14.27159209
+-2.51710655 -14.07941395
+-2.50733138 -13.89010242
+-2.49755621 -13.70365752
+-2.48778104 -13.52007923
+-2.47800587 -13.33936757
+-2.46823069 -13.16152252
+-2.45845552 -12.98654409
+-2.44868035 -12.81443228
+-2.43890518 -12.64518709
+-2.42913001 -12.47880852
+-2.41935484 -12.31529657
+-2.40957967 -12.15465123
+-2.39980450 -11.99687252
+-2.39002933 -11.84196042
+-2.38025415 -11.68991495
+-2.37047898 -11.54073609
+-2.36070381 -11.39442385
+-2.35092864 -11.25097823
+-2.34115347 -11.11039923
+-2.33137830 -10.97268685
+-2.32160313 -10.83784109
+-2.31182796 -10.70586195
+-2.30205279 -10.57674943
+-2.29227761 -10.45050352
+-2.28250244 -10.32712424
+-2.27272727 -10.20661157
+-2.26295210 -10.08896552
+-2.25317693 -9.97418610
+-2.24340176 -9.86227329
+-2.23362659 -9.75322710
+-2.22385142 -9.64704753
+-2.21407625 -9.54373457
+-2.20430108 -9.44328824
+-2.19452590 -9.34570853
+-2.18475073 -9.25099543
+-2.17497556 -9.15914896
+-2.16520039 -9.07016910
+-2.15542522 -8.98405586
+-2.14565005 -8.90080925
+-2.13587488 -8.82042925
+-2.12609971 -8.74291587
+-2.11632454 -8.66826911
+-2.10654936 -8.59648896
+-2.09677419 -8.52757544
+-2.08699902 -8.46152854
+-2.07722385 -8.39834825
+-2.06744868 -8.33803459
+-2.05767351 -8.28058754
+-2.04789834 -8.22600711
+-2.03812317 -8.17429331
+-2.02834800 -8.12544612
+-2.01857283 -8.07946555
+-2.00879765 -8.03635160
+-1.99902248 -7.98436833
+-1.98924731 -7.82899757
+-1.97947214 -7.67534679
+-1.96969697 -7.52341598
+-1.95992180 -7.37320514
+-1.95014663 -7.22471427
+-1.94037146 -7.07794337
+-1.93059629 -6.93289245
+-1.92082111 -6.78956149
+-1.91104594 -6.64795051
+-1.90127077 -6.50805950
+-1.89149560 -6.36988846
+-1.88172043 -6.23343739
+-1.87194526 -6.09870629
+-1.86217009 -5.96569517
+-1.85239492 -5.83440402
+-1.84261975 -5.70483283
+-1.83284457 -5.57698162
+-1.82306940 -5.45085038
+-1.81329423 -5.32643911
+-1.80351906 -5.20374782
+-1.79374389 -5.08277649
+-1.78396872 -4.96352514
+-1.77419355 -4.84599376
+-1.76441838 -4.73018235
+-1.75464321 -4.61609091
+-1.74486804 -4.50371944
+-1.73509286 -4.39306794
+-1.72531769 -4.28413642
+-1.71554252 -4.17692486
+-1.70576735 -4.07143328
+-1.69599218 -3.96766167
+-1.68621701 -3.86561003
+-1.67644184 -3.76527836
+-1.66666667 -3.66666667
+-1.65689150 -3.56977494
+-1.64711632 -3.47460319
+-1.63734115 -3.38115141
+-1.62756598 -3.28941960
+-1.61779081 -3.19940776
+-1.60801564 -3.11111589
+-1.59824047 -3.02454399
+-1.58846530 -2.93969207
+-1.57869013 -2.85656011
+-1.56891496 -2.77514813
+-1.55913978 -2.69545612
+-1.54936461 -2.61748408
+-1.53958944 -2.54123202
+-1.52981427 -2.46669992
+-1.52003910 -2.39388779
+-1.51026393 -2.32279564
+-1.50048876 -2.25342346
+-1.49071359 -2.18577125
+-1.48093842 -2.11983901
+-1.47116325 -2.05562674
+-1.46138807 -1.99313445
+-1.45161290 -1.93236212
+-1.44183773 -1.87330977
+-1.43206256 -1.81597739
+-1.42228739 -1.76036498
+-1.41251222 -1.70647254
+-1.40273705 -1.65430007
+-1.39296188 -1.60384758
+-1.38318671 -1.55511505
+-1.37341153 -1.50810250
+-1.36363636 -1.46280992
+-1.35386119 -1.41923731
+-1.34408602 -1.37738467
+-1.33431085 -1.33725200
+-1.32453568 -1.29883931
+-1.31476051 -1.26214658
+-1.30498534 -1.22717383
+-1.29521017 -1.19392105
+-1.28543500 -1.16238824
+-1.27565982 -1.13257540
+-1.26588465 -1.10448253
+-1.25610948 -1.07810964
+-1.24633431 -1.05345671
+-1.23655914 -1.03052376
+-1.22678397 -1.00931078
+-1.21700880 -0.98981777
+-1.20723363 -0.97204473
+-1.19745846 -0.95599166
+-1.18768328 -0.94165857
+-1.17790811 -0.92904544
+-1.16813294 -0.91815229
+-1.15835777 -0.90897911
+-1.14858260 -0.90152590
+-1.13880743 -0.89579266
+-1.12903226 -0.89177940
+-1.11925709 -0.88948610
+-1.10948192 -0.88891278
+-1.09970674 -0.89005943
+-1.08993157 -0.89292604
+-1.08015640 -0.89751263
+-1.07038123 -0.90381920
+-1.06060606 -0.91184573
+-1.05083089 -0.92159223
+-1.04105572 -0.93305871
+-1.03128055 -0.94624516
+-1.02150538 -0.96115158
+-1.01173021 -0.97777797
+-1.00195503 -0.99612433
+-0.99217986 -0.96890292
+-0.98240469 -0.93054755
+-0.97262952 -0.89276551
+-0.96285435 -0.85555680
+-0.95307918 -0.81892141
+-0.94330401 -0.78285934
+-0.93352884 -0.74737059
+-0.92375367 -0.71245517
+-0.91397849 -0.67811308
+-0.90420332 -0.64434430
+-0.89442815 -0.61114885
+-0.88465298 -0.57852673
+-0.87487781 -0.54647793
+-0.86510264 -0.51500245
+-0.85532747 -0.48410030
+-0.84555230 -0.45377147
+-0.83577713 -0.42401596
+-0.82600196 -0.39483378
+-0.81622678 -0.36622492
+-0.80645161 -0.33818939
+-0.79667644 -0.31072718
+-0.78690127 -0.28383829
+-0.77712610 -0.25752273
+-0.76735093 -0.23178049
+-0.75757576 -0.20661157
+-0.74780059 -0.18201598
+-0.73802542 -0.15799371
+-0.72825024 -0.13454477
+-0.71847507 -0.11166915
+-0.70869990 -0.08936685
+-0.69892473 -0.06763788
+-0.68914956 -0.04648223
+-0.67937439 -0.02589990
+-0.66959922 -0.00589090
+-0.65982405 0.01354478
+-0.65004888 0.03240713
+-0.64027370 0.05069616
+-0.63049853 0.06841186
+-0.62072336 0.08555425
+-0.61094819 0.10212330
+-0.60117302 0.11811904
+-0.59139785 0.13354145
+-0.58162268 0.14839054
+-0.57184751 0.16266630
+-0.56207234 0.17636874
+-0.55229717 0.18949785
+-0.54252199 0.20205365
+-0.53274682 0.21403611
+-0.52297165 0.22544526
+-0.51319648 0.23628108
+-0.50342131 0.24654357
+-0.49364614 0.25623275
+-0.48387097 0.26534860
+-0.47409580 0.27389112
+-0.46432063 0.28186032
+-0.45454545 0.28925620
+-0.44477028 0.29607875
+-0.43499511 0.30232798
+-0.42521994 0.30800389
+-0.41544477 0.31310647
+-0.40566960 0.31763573
+-0.39589443 0.32159166
+-0.38611926 0.32497427
+-0.37634409 0.32778356
+-0.36656891 0.33001952
+-0.35679374 0.33168216
+-0.34701857 0.33277148
+-0.33724340 0.33328747
+-0.32746823 0.33323014
+-0.31769306 0.33259948
+-0.30791789 0.33139550
+-0.29814272 0.32961820
+-0.28836755 0.32726757
+-0.27859238 0.32434362
+-0.26881720 0.32084634
+-0.25904203 0.31677574
+-0.24926686 0.31213182
+-0.23949169 0.30691457
+-0.22971652 0.30112400
+-0.21994135 0.29476011
+-0.21016618 0.28782289
+-0.20039101 0.28031235
+-0.19061584 0.27222848
+-0.18084066 0.26357129
+-0.17106549 0.25434078
+-0.16129032 0.24453694
+-0.15151515 0.23415978
+-0.14173998 0.22320929
+-0.13196481 0.21168549
+-0.12218964 0.19958835
+-0.11241447 0.18691790
+-0.10263930 0.17367412
+-0.09286413 0.15985701
+-0.08308895 0.14546659
+-0.07331378 0.13050283
+-0.06353861 0.11496576
+-0.05376344 0.09885536
+-0.04398827 0.08217164
+-0.03421310 0.06491459
+-0.02443793 0.04708422
+-0.01466276 0.02868052
+-0.00488759 0.00970351
+0.00488759 -0.00970351
+0.01466276 -0.02868052
+0.02443793 -0.04708422
+0.03421310 -0.06491459
+0.04398827 -0.08217164
+0.05376344 -0.09885536
+0.06353861 -0.11496576
+0.07331378 -0.13050283
+0.08308895 -0.14546659
+0.09286413 -0.15985701
+0.10263930 -0.17367412
+0.11241447 -0.18691790
+0.12218964 -0.19958835
+0.13196481 -0.21168549
+0.14173998 -0.22320929
+0.15151515 -0.23415978
+0.16129032 -0.24453694
+0.17106549 -0.25434078
+0.18084066 -0.26357129
+0.19061584 -0.27222848
+0.20039101 -0.28031235
+0.21016618 -0.28782289
+0.21994135 -0.29476011
+0.22971652 -0.30112400
+0.23949169 -0.30691457
+0.24926686 -0.31213182
+0.25904203 -0.31677574
+0.26881720 -0.32084634
+0.27859238 -0.32434362
+0.28836755 -0.32726757
+0.29814272 -0.32961820
+0.30791789 -0.33139550
+0.31769306 -0.33259948
+0.32746823 -0.33323014
+0.33724340 -0.33328747
+0.34701857 -0.33277148
+0.35679374 -0.33168216
+0.36656891 -0.33001952
+0.37634409 -0.32778356
+0.38611926 -0.32497427
+0.39589443 -0.32159166
+0.40566960 -0.31763573
+0.41544477 -0.31310647
+0.42521994 -0.30800389
+0.43499511 -0.30232798
+0.44477028 -0.29607875
+0.45454545 -0.28925620
+0.46432063 -0.28186032
+0.47409580 -0.27389112
+0.48387097 -0.26534860
+0.49364614 -0.25623275
+0.50342131 -0.24654357
+0.51319648 -0.23628108
+0.52297165 -0.22544526
+0.53274682 -0.21403611
+0.54252199 -0.20205365
+0.55229717 -0.18949785
+0.56207234 -0.17636874
+0.57184751 -0.16266630
+0.58162268 -0.14839054
+0.59139785 -0.13354145
+0.60117302 -0.11811904
+0.61094819 -0.10212330
+0.62072336 -0.08555425
+0.63049853 -0.06841186
+0.64027370 -0.05069616
+0.65004888 -0.03240713
+0.65982405 -0.01354478
+0.66959922 0.00589090
+0.67937439 0.02589990
+0.68914956 0.04648223
+0.69892473 0.06763788
+0.70869990 0.08936685
+0.71847507 0.11166915
+0.72825024 0.13454477
+0.73802542 0.15799371
+0.74780059 0.18201598
+0.75757576 0.20661157
+0.76735093 0.23178049
+0.77712610 0.25752273
+0.78690127 0.28383829
+0.79667644 0.31072718
+0.80645161 0.33818939
+0.81622678 0.36622492
+0.82600196 0.39483378
+0.83577713 0.42401596
+0.84555230 0.45377147
+0.85532747 0.48410030
+0.86510264 0.51500245
+0.87487781 0.54647793
+0.88465298 0.57852673
+0.89442815 0.61114885
+0.90420332 0.64434430
+0.91397849 0.67811308
+0.92375367 0.71245517
+0.93352884 0.74737059
+0.94330401 0.78285934
+0.95307918 0.81892141
+0.96285435 0.85555680
+0.97262952 0.89276551
+0.98240469 0.93054755
+0.99217986 0.96890292
+1.00195503 0.99612433
+1.01173021 0.97777797
+1.02150538 0.96115158
+1.03128055 0.94624516
+1.04105572 0.93305871
+1.05083089 0.92159223
+1.06060606 0.91184573
+1.07038123 0.90381920
+1.08015640 0.89751263
+1.08993157 0.89292604
+1.09970674 0.89005943
+1.10948192 0.88891278
+1.11925709 0.88948610
+1.12903226 0.89177940
+1.13880743 0.89579266
+1.14858260 0.90152590
+1.15835777 0.90897911
+1.16813294 0.91815229
+1.17790811 0.92904544
+1.18768328 0.94165857
+1.19745846 0.95599166
+1.20723363 0.97204473
+1.21700880 0.98981777
+1.22678397 1.00931078
+1.23655914 1.03052376
+1.24633431 1.05345671
+1.25610948 1.07810964
+1.26588465 1.10448253
+1.27565982 1.13257540
+1.28543500 1.16238824
+1.29521017 1.19392105
+1.30498534 1.22717383
+1.31476051 1.26214658
+1.32453568 1.29883931
+1.33431085 1.33725200
+1.34408602 1.37738467
+1.35386119 1.41923731
+1.36363636 1.46280992
+1.37341153 1.50810250
+1.38318671 1.55511505
+1.39296188 1.60384758
+1.40273705 1.65430007
+1.41251222 1.70647254
+1.42228739 1.76036498
+1.43206256 1.81597739
+1.44183773 1.87330977
+1.45161290 1.93236212
+1.46138807 1.99313445
+1.47116325 2.05562674
+1.48093842 2.11983901
+1.49071359 2.18577125
+1.50048876 2.25342346
+1.51026393 2.32279564
+1.52003910 2.39388779
+1.52981427 2.46669992
+1.53958944 2.54123202
+1.54936461 2.61748408
+1.55913978 2.69545612
+1.56891496 2.77514813
+1.57869013 2.85656011
+1.58846530 2.93969207
+1.59824047 3.02454399
+1.60801564 3.11111589
+1.61779081 3.19940776
+1.62756598 3.28941960
+1.63734115 3.38115141
+1.64711632 3.47460319
+1.65689150 3.56977494
+1.66666667 3.66666667
+1.67644184 3.76527836
+1.68621701 3.86561003
+1.69599218 3.96766167
+1.70576735 4.07143328
+1.71554252 4.17692486
+1.72531769 4.28413642
+1.73509286 4.39306794
+1.74486804 4.50371944
+1.75464321 4.61609091
+1.76441838 4.73018235
+1.77419355 4.84599376
+1.78396872 4.96352514
+1.79374389 5.08277649
+1.80351906 5.20374782
+1.81329423 5.32643911
+1.82306940 5.45085038
+1.83284457 5.57698162
+1.84261975 5.70483283
+1.85239492 5.83440402
+1.86217009 5.96569517
+1.87194526 6.09870629
+1.88172043 6.23343739
+1.89149560 6.36988846
+1.90127077 6.50805950
+1.91104594 6.64795051
+1.92082111 6.78956149
+1.93059629 6.93289245
+1.94037146 7.07794337
+1.95014663 7.22471427
+1.95992180 7.37320514
+1.96969697 7.52341598
+1.97947214 7.67534679
+1.98924731 7.82899757
+1.99902248 7.98436833
+2.00879765 8.03635160
+2.01857283 8.07946555
+2.02834800 8.12544612
+2.03812317 8.17429331
+2.04789834 8.22600711
+2.05767351 8.28058754
+2.06744868 8.33803459
+2.07722385 8.39834825
+2.08699902 8.46152854
+2.09677419 8.52757544
+2.10654936 8.59648896
+2.11632454 8.66826911
+2.12609971 8.74291587
+2.13587488 8.82042925
+2.14565005 8.90080925
+2.15542522 8.98405586
+2.16520039 9.07016910
+2.17497556 9.15914896
+2.18475073 9.25099543
+2.19452590 9.34570853
+2.20430108 9.44328824
+2.21407625 9.54373457
+2.22385142 9.64704753
+2.23362659 9.75322710
+2.24340176 9.86227329
+2.25317693 9.97418610
+2.26295210 10.08896552
+2.27272727 10.20661157
+2.28250244 10.32712424
+2.29227761 10.45050352
+2.30205279 10.57674943
+2.31182796 10.70586195
+2.32160313 10.83784109
+2.33137830 10.97268685
+2.34115347 11.11039923
+2.35092864 11.25097823
+2.36070381 11.39442385
+2.37047898 11.54073609
+2.38025415 11.68991495
+2.39002933 11.84196042
+2.39980450 11.99687252
+2.40957967 12.15465123
+2.41935484 12.31529657
+2.42913001 12.47880852
+2.43890518 12.64518709
+2.44868035 12.81443228
+2.45845552 12.98654409
+2.46823069 13.16152252
+2.47800587 13.33936757
+2.48778104 13.52007923
+2.49755621 13.70365752
+2.50733138 13.89010242
+2.51710655 14.07941395
+2.52688172 14.27159209
+2.53665689 14.46663685
+2.54643206 14.66454824
+2.55620723 14.86532624
+2.56598240 15.06897086
+2.57575758 15.27548209
+2.58553275 15.48485995
+2.59530792 15.69710443
+2.60508309 15.91221552
+2.61485826 16.13019324
+2.62463343 16.35103757
+2.63440860 16.57474853
+2.64418377 16.80132610
+2.65395894 17.03077029
+2.66373412 17.26308110
+2.67350929 17.49825853
+2.68328446 17.73630258
+2.69305963 17.97721324
+2.70283480 18.22099053
+2.71260997 18.46763444
+2.72238514 18.71714496
+2.73216031 18.96952211
+2.74193548 19.22476587
+2.75171065 19.48287625
+2.76148583 19.74385325
+2.77126100 20.00769687
+2.78103617 20.27440711
+2.79081134 20.54398397
+2.80058651 20.81642745
+2.81036168 21.09173754
+2.82013685 21.36991426
+2.82991202 21.65095759
+2.83968719 21.93486755
+2.84946237 22.22164412
+2.85923754 22.51128731
+2.86901271 22.80379712
+2.87878788 23.09917355
+2.88856305 23.39741660
+2.89833822 23.69852627
+2.90811339 24.00250256
+2.91788856 24.30934546
+2.92766373 24.61905499
+2.93743891 24.93163113
+2.94721408 25.24707390
+2.95698925 25.56538328
+2.96676442 25.88655928
+2.97653959 26.21060190
+2.98631476 26.53751114
+2.99608993 26.86728700
+3.00586510 27.09456403
+3.01564027 27.25538136
+3.02541544 27.42021196
+3.03519062 27.58905582
+3.04496579 27.76191295
+3.05474096 27.93878335
+3.06451613 28.11966701
+3.07429130 28.30456394
+3.08406647 28.49347414
+3.09384164 28.68639761
+3.10361681 28.88333434
+3.11339198 29.08428433
+3.12316716 29.28924760
+3.13294233 29.49822413
+3.14271750 29.71121393
+3.15249267 29.92821699
+3.16226784 30.14923332
+3.17204301 30.37426292
+3.18181818 30.60330579
+3.19159335 30.83636192
+3.20136852 31.07343131
+3.21114370 31.31451398
+3.22091887 31.55960991
+3.23069404 31.80871911
+3.24046921 32.06184157
+3.25024438 32.31897730
+3.26001955 32.58012630
+3.26979472 32.84528857
+3.27956989 33.11446410
+3.28934506 33.38765290
+3.29912023 33.66485496
+3.30889541 33.94607030
+3.31867058 34.23129889
+3.32844575 34.52054076
+3.33822092 34.81379589
+3.34799609 35.11106429
+3.35777126 35.41234596
+3.36754643 35.71764089
+3.37732160 36.02694909
+3.38709677 36.34027055
+3.39687195 36.65760528
+3.40664712 36.97895328
+3.41642229 37.30431455
+3.42619746 37.63368908
+3.43597263 37.96707688
+3.44574780 38.30447795
+3.45552297 38.64589228
+3.46529814 38.99131988
+3.47507331 39.34076074
+3.48484848 39.69421488
+3.49462366 40.05168228
+3.50439883 40.41316294
+3.51417400 40.77865687
+3.52394917 41.14816407
+3.53372434 41.52168454
+3.54349951 41.89921827
+3.55327468 42.28076527
+3.56304985 42.66632554
+3.57282502 43.05589907
+3.58260020 43.44948587
+3.59237537 43.84708594
+3.60215054 44.24869927
+3.61192571 44.65432587
+3.62170088 45.06396574
+3.63147605 45.47761887
+3.64125122 45.89528527
+3.65102639 46.31696494
+3.66080156 46.74265787
+3.67057674 47.17236407
+3.68035191 47.60608354
+3.69012708 48.04381627
+3.69990225 48.48556227
+3.70967742 48.93132154
+3.71945259 49.38109407
+3.72922776 49.83487987
+3.73900293 50.29267894
+3.74877810 50.75449128
+3.75855327 51.22031688
+3.76832845 51.69015574
+3.77810362 52.16400788
+3.78787879 52.64187328
+3.79765396 53.12375195
+3.80742913 53.60964388
+3.81720430 54.09954908
+3.82697947 54.59346755
+3.83675464 55.09139928
+3.84652981 55.59334428
+3.85630499 56.09930255
+3.86608016 56.60927409
+3.87585533 57.12325889
+3.88563050 57.64125696
+3.89540567 58.16326829
+3.90518084 58.68929289
+3.91495601 59.21933076
+3.92473118 59.75338189
+3.93450635 60.29144630
+3.94428152 60.83352396
+3.95405670 61.37961490
+3.96383187 61.92971910
+3.97360704 62.48383657
+3.98338221 63.04196730
+3.99315738 63.60411131
+4.00293255 64.09993894
+4.01270772 64.43642269
+4.02248289 64.77806635
+4.03225806 65.12486993
+4.04203324 65.47683342
+4.05180841 65.83395682
+4.06158358 66.19624014
+4.07135875 66.56368338
+4.08113392 66.93628652
+4.09090909 67.31404959
+4.10068426 67.69697256
+4.11045943 68.08505545
+4.12023460 68.47829826
+4.13000978 68.87670098
+4.13978495 69.28026361
+4.14956012 69.68898616
+4.15933529 70.10286863
+4.16911046 70.52191100
+4.17888563 70.94611329
+4.18866080 71.37547550
+4.19843597 71.80999762
+4.20821114 72.24967966
+4.21798631 72.69452160
+4.22776149 73.14452347
+4.23753666 73.59968525
+4.24731183 74.06000694
+4.25708700 74.52548854
+4.26686217 74.99613006
+4.27663734 75.47193150
+4.28641251 75.95289285
+4.29618768 76.43901411
+4.30596285 76.93029529
+4.31573803 77.42673638
+4.32551320 77.92833739
+4.33528837 78.43509831
+4.34506354 78.94701915
+4.35483871 79.46409990
+4.36461388 79.98634056
+4.37438905 80.51374114
+4.38416422 81.04630163
+4.39393939 81.58402204
+4.40371457 82.12690236
+4.41348974 82.67494260
+4.42326491 83.22814275
+4.43304008 83.78650281
+4.44281525 84.35002279
+4.45259042 84.91870268
+4.46236559 85.49254249
+4.47214076 86.07154221
+4.48191593 86.65570185
+4.49169110 87.24502140
+4.50146628 87.83950086
+4.51124145 88.43914024
+4.52101662 89.04393954
+4.53079179 89.65389875
+4.54056696 90.26901787
+4.55034213 90.88929690
+4.56011730 91.51473586
+4.56989247 92.14533472
+4.57966764 92.78109350
+4.58944282 93.42201219
+4.59921799 94.06809080
+4.60899316 94.71932933
+4.61876833 95.37572776
+4.62854350 96.03728611
+4.63831867 96.70400438
+4.64809384 97.37588256
+4.65786901 98.05292065
+4.66764418 98.73511866
+4.67741935 99.42247659
+4.68719453 100.11499442
+4.69696970 100.81267218
+4.70674487 101.51550984
+4.71652004 102.22350742
+4.72629521 102.93666492
+4.73607038 103.65498233
+4.74584555 104.37845965
+4.75562072 105.10709689
+4.76539589 105.84089404
+4.77517107 106.57985111
+4.78494624 107.32396809
+4.79472141 108.07324498
+4.80449658 108.82768179
+4.81427175 109.58727852
+4.82404692 110.35203516
+4.83382209 111.12195171
+4.84359726 111.89702818
+4.85337243 112.67726456
+4.86314761 113.46266085
+4.87292278 114.25321706
+4.88269795 115.04893319
+4.89247312 115.84980923
+4.90224829 116.65584518
+4.91202346 117.46704105
+4.92179863 118.28339683
+4.93157380 119.10491253
+4.94134897 119.93158814
+4.95112414 120.76342366
+4.96089932 121.60041910
+4.97067449 122.44257445
+4.98044966 123.28988972
+4.99022483 124.14236490
+5.00000000 125.00000000
diff --git a/examples/takagi-sugeno/octave/cubic_approximator.fll b/examples/takagi-sugeno/octave/cubic_approximator.fll
new file mode 100644
index 0000000..073e70e
--- /dev/null
+++ b/examples/takagi-sugeno/octave/cubic_approximator.fll
@@ -0,0 +1,50 @@
+Engine: Cubic-Approximator
+InputVariable: X
+ enabled: true
+ range: -5.000 5.000
+ term: AboutNegFive Triangle -6.000 -5.000 -4.000
+ term: AboutNegFour Triangle -5.000 -4.000 -3.000
+ term: AboutNegThree Triangle -4.000 -3.000 -2.000
+ term: AboutNegTwo Triangle -3.000 -2.000 -1.000
+ term: AboutNegOne Triangle -2.000 -1.000 0.000
+ term: AboutZero Triangle -1.000 0.000 1.000
+ term: AboutOne Triangle 0.000 1.000 2.000
+ term: AboutTwo Triangle 1.000 2.000 3.000
+ term: AboutThree Triangle 2.000 3.000 4.000
+ term: AboutFour Triangle 3.000 4.000 5.000
+ term: AboutFive Triangle 4.000 5.000 6.000
+OutputVariable: ApproxXCubed
+ enabled: true
+ range: -5.000 5.000
+ accumulation: none
+ defuzzifier: WeightedAverage TakagiSugeno
+ default: nan
+ lock-previous: false
+ lock-range: false
+ term: TangentatNegFive Linear 75.000 250.000
+ term: TangentatNegFour Linear 48.000 128.000
+ term: TangentatNegThree Linear 27.000 54.000
+ term: TangentatNegTwo Linear 12.000 16.000
+ term: TangentatNegOne Linear 3.000 2.000
+ term: TangentatZero Linear 0.000 0.000
+ term: TangentatOne Linear 3.000 -2.000
+ term: TangentatTwo Linear 12.000 -16.000
+ term: TangentatThree Linear 27.000 -54.000
+ term: TangentatFour Linear 48.000 -128.000
+ term: TangentatFive Linear 75.000 -250.000
+RuleBlock:
+ enabled: true
+ conjunction: none
+ disjunction: none
+ activation: none
+ rule: if X is AboutNegFive then ApproxXCubed is TangentatNegFive
+ rule: if X is AboutNegFour then ApproxXCubed is TangentatNegFour
+ rule: if X is AboutNegThree then ApproxXCubed is TangentatNegThree
+ rule: if X is AboutNegTwo then ApproxXCubed is TangentatNegTwo
+ rule: if X is AboutNegOne then ApproxXCubed is TangentatNegOne
+ rule: if X is AboutZero then ApproxXCubed is TangentatZero
+ rule: if X is AboutOne then ApproxXCubed is TangentatOne
+ rule: if X is AboutTwo then ApproxXCubed is TangentatTwo
+ rule: if X is AboutThree then ApproxXCubed is TangentatThree
+ rule: if X is AboutFour then ApproxXCubed is TangentatFour
+ rule: if X is AboutFive then ApproxXCubed is TangentatFive \ No newline at end of file
diff --git a/examples/takagi-sugeno/octave/cubic_approximator.java b/examples/takagi-sugeno/octave/cubic_approximator.java
new file mode 100644
index 0000000..1955a24
--- /dev/null
+++ b/examples/takagi-sugeno/octave/cubic_approximator.java
@@ -0,0 +1,78 @@
+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 cubic_approximator{
+public static void main(String[] args){
+Engine engine = new Engine();
+engine.setName("Cubic-Approximator");
+
+InputVariable inputVariable = new InputVariable();
+inputVariable.setEnabled(true);
+inputVariable.setName("X");
+inputVariable.setRange(-5.000, 5.000);
+inputVariable.addTerm(new Triangle("AboutNegFive", -6.000, -5.000, -4.000));
+inputVariable.addTerm(new Triangle("AboutNegFour", -5.000, -4.000, -3.000));
+inputVariable.addTerm(new Triangle("AboutNegThree", -4.000, -3.000, -2.000));
+inputVariable.addTerm(new Triangle("AboutNegTwo", -3.000, -2.000, -1.000));
+inputVariable.addTerm(new Triangle("AboutNegOne", -2.000, -1.000, 0.000));
+inputVariable.addTerm(new Triangle("AboutZero", -1.000, 0.000, 1.000));
+inputVariable.addTerm(new Triangle("AboutOne", 0.000, 1.000, 2.000));
+inputVariable.addTerm(new Triangle("AboutTwo", 1.000, 2.000, 3.000));
+inputVariable.addTerm(new Triangle("AboutThree", 2.000, 3.000, 4.000));
+inputVariable.addTerm(new Triangle("AboutFour", 3.000, 4.000, 5.000));
+inputVariable.addTerm(new Triangle("AboutFive", 4.000, 5.000, 6.000));
+engine.addInputVariable(inputVariable);
+
+OutputVariable outputVariable = new OutputVariable();
+outputVariable.setEnabled(true);
+outputVariable.setName("ApproxXCubed");
+outputVariable.setRange(-5.000, 5.000);
+outputVariable.fuzzyOutput().setAccumulation(null);
+outputVariable.setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable.setDefaultValue(Double.NaN);
+outputVariable.setLockPreviousOutputValue(false);
+outputVariable.setLockOutputValueInRange(false);
+outputVariable.addTerm(Linear.create("TangentatNegFive", engine, 75.000, 250.000));
+outputVariable.addTerm(Linear.create("TangentatNegFour", engine, 48.000, 128.000));
+outputVariable.addTerm(Linear.create("TangentatNegThree", engine, 27.000, 54.000));
+outputVariable.addTerm(Linear.create("TangentatNegTwo", engine, 12.000, 16.000));
+outputVariable.addTerm(Linear.create("TangentatNegOne", engine, 3.000, 2.000));
+outputVariable.addTerm(Linear.create("TangentatZero", engine, 0.000, 0.000));
+outputVariable.addTerm(Linear.create("TangentatOne", engine, 3.000, -2.000));
+outputVariable.addTerm(Linear.create("TangentatTwo", engine, 12.000, -16.000));
+outputVariable.addTerm(Linear.create("TangentatThree", engine, 27.000, -54.000));
+outputVariable.addTerm(Linear.create("TangentatFour", engine, 48.000, -128.000));
+outputVariable.addTerm(Linear.create("TangentatFive", engine, 75.000, -250.000));
+engine.addOutputVariable(outputVariable);
+
+RuleBlock ruleBlock = new RuleBlock();
+ruleBlock.setEnabled(true);
+ruleBlock.setName("");
+ruleBlock.setConjunction(null);
+ruleBlock.setDisjunction(null);
+ruleBlock.setActivation(null);
+ruleBlock.addRule(Rule.parse("if X is AboutNegFive then ApproxXCubed is TangentatNegFive", engine));
+ruleBlock.addRule(Rule.parse("if X is AboutNegFour then ApproxXCubed is TangentatNegFour", engine));
+ruleBlock.addRule(Rule.parse("if X is AboutNegThree then ApproxXCubed is TangentatNegThree", engine));
+ruleBlock.addRule(Rule.parse("if X is AboutNegTwo then ApproxXCubed is TangentatNegTwo", engine));
+ruleBlock.addRule(Rule.parse("if X is AboutNegOne then ApproxXCubed is TangentatNegOne", engine));
+ruleBlock.addRule(Rule.parse("if X is AboutZero then ApproxXCubed is TangentatZero", engine));
+ruleBlock.addRule(Rule.parse("if X is AboutOne then ApproxXCubed is TangentatOne", engine));
+ruleBlock.addRule(Rule.parse("if X is AboutTwo then ApproxXCubed is TangentatTwo", engine));
+ruleBlock.addRule(Rule.parse("if X is AboutThree then ApproxXCubed is TangentatThree", engine));
+ruleBlock.addRule(Rule.parse("if X is AboutFour then ApproxXCubed is TangentatFour", engine));
+ruleBlock.addRule(Rule.parse("if X is AboutFive then ApproxXCubed is TangentatFive", engine));
+engine.addRuleBlock(ruleBlock);
+
+
+}
+}
diff --git a/examples/takagi-sugeno/octave/heart_disease_risk.cpp b/examples/takagi-sugeno/octave/heart_disease_risk.cpp
new file mode 100644
index 0000000..397b303
--- /dev/null
+++ b/examples/takagi-sugeno/octave/heart_disease_risk.cpp
@@ -0,0 +1,69 @@
+#include <fl/Headers.h>
+
+int main(int argc, char** argv){
+using namespace fl;
+
+Engine* engine = new Engine;
+engine->setName("Heart-Disease-Risk");
+
+InputVariable* inputVariable1 = new InputVariable;
+inputVariable1->setEnabled(true);
+inputVariable1->setName("LDLLevel");
+inputVariable1->setRange(0.000, 300.000);
+inputVariable1->addTerm(new Trapezoid("Low", -1.000, 0.000, 90.000, 110.000));
+inputVariable1->addTerm(new Trapezoid("LowBorderline", 90.000, 110.000, 120.000, 140.000));
+inputVariable1->addTerm(new Trapezoid("Borderline", 120.000, 140.000, 150.000, 170.000));
+inputVariable1->addTerm(new Trapezoid("HighBorderline", 150.000, 170.000, 180.000, 200.000));
+inputVariable1->addTerm(new Trapezoid("High", 180.000, 200.000, 300.000, 301.000));
+engine->addInputVariable(inputVariable1);
+
+InputVariable* inputVariable2 = new InputVariable;
+inputVariable2->setEnabled(true);
+inputVariable2->setName("HDLLevel");
+inputVariable2->setRange(0.000, 100.000);
+inputVariable2->addTerm(new Trapezoid("LowHDL", -1.000, 0.000, 35.000, 45.000));
+inputVariable2->addTerm(new Trapezoid("ModerateHDL", 35.000, 45.000, 55.000, 65.000));
+inputVariable2->addTerm(new Trapezoid("HighHDL", 55.000, 65.000, 100.000, 101.000));
+engine->addInputVariable(inputVariable2);
+
+OutputVariable* outputVariable = new OutputVariable;
+outputVariable->setEnabled(true);
+outputVariable->setName("HeartDiseaseRisk");
+outputVariable->setRange(0.000, 10.000);
+outputVariable->fuzzyOutput()->setAccumulation(fl::null);
+outputVariable->setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable->setDefaultValue(fl::nan);
+outputVariable->setLockPreviousOutputValue(false);
+outputVariable->setLockOutputValueInRange(false);
+outputVariable->addTerm(new Constant("NoRisk", 0.000));
+outputVariable->addTerm(new Constant("LowRisk", 2.500));
+outputVariable->addTerm(new Constant("MediumRisk", 5.000));
+outputVariable->addTerm(new Constant("HighRisk", 7.500));
+outputVariable->addTerm(new Constant("ExtremeRisk", 10.000));
+engine->addOutputVariable(outputVariable);
+
+RuleBlock* ruleBlock = new RuleBlock;
+ruleBlock->setEnabled(true);
+ruleBlock->setName("");
+ruleBlock->setConjunction(new Minimum);
+ruleBlock->setDisjunction(fl::null);
+ruleBlock->setActivation(fl::null);
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is Low and HDLLevel is LowHDL then HeartDiseaseRisk is MediumRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is Low and HDLLevel is ModerateHDL then HeartDiseaseRisk is LowRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is Low and HDLLevel is HighHDL then HeartDiseaseRisk is NoRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is LowBorderline and HDLLevel is LowHDL then HeartDiseaseRisk is MediumRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is LowBorderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is LowRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is LowBorderline and HDLLevel is HighHDL then HeartDiseaseRisk is LowRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is Borderline and HDLLevel is LowHDL then HeartDiseaseRisk is HighRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is Borderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is MediumRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is Borderline and HDLLevel is HighHDL then HeartDiseaseRisk is LowRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is HighBorderline and HDLLevel is LowHDL then HeartDiseaseRisk is HighRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is HighBorderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is HighRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is HighBorderline and HDLLevel is HighHDL then HeartDiseaseRisk is MediumRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is High and HDLLevel is LowHDL then HeartDiseaseRisk is ExtremeRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is High and HDLLevel is ModerateHDL then HeartDiseaseRisk is HighRisk", engine));
+ruleBlock->addRule(fl::Rule::parse("if LDLLevel is High and HDLLevel is HighHDL then HeartDiseaseRisk is MediumRisk", engine));
+engine->addRuleBlock(ruleBlock);
+
+
+}
diff --git a/examples/takagi-sugeno/octave/heart_disease_risk.fcl b/examples/takagi-sugeno/octave/heart_disease_risk.fcl
new file mode 100644
index 0000000..9629a47
--- /dev/null
+++ b/examples/takagi-sugeno/octave/heart_disease_risk.fcl
@@ -0,0 +1,58 @@
+FUNCTION_BLOCK Heart-Disease-Risk
+
+VAR_INPUT
+ LDLLevel: REAL;
+ HDLLevel: REAL;
+END_VAR
+
+VAR_OUTPUT
+ HeartDiseaseRisk: REAL;
+END_VAR
+
+FUZZIFY LDLLevel
+ RANGE := (0.000 .. 300.000);
+ TERM Low := Trapezoid -1.000 0.000 90.000 110.000;
+ TERM LowBorderline := Trapezoid 90.000 110.000 120.000 140.000;
+ TERM Borderline := Trapezoid 120.000 140.000 150.000 170.000;
+ TERM HighBorderline := Trapezoid 150.000 170.000 180.000 200.000;
+ TERM High := Trapezoid 180.000 200.000 300.000 301.000;
+END_FUZZIFY
+
+FUZZIFY HDLLevel
+ RANGE := (0.000 .. 100.000);
+ TERM LowHDL := Trapezoid -1.000 0.000 35.000 45.000;
+ TERM ModerateHDL := Trapezoid 35.000 45.000 55.000 65.000;
+ TERM HighHDL := Trapezoid 55.000 65.000 100.000 101.000;
+END_FUZZIFY
+
+DEFUZZIFY HeartDiseaseRisk
+ RANGE := (0.000 .. 10.000);
+ TERM NoRisk := 0.000;
+ TERM LowRisk := 2.500;
+ TERM MediumRisk := 5.000;
+ TERM HighRisk := 7.500;
+ TERM ExtremeRisk := 10.000;
+ METHOD : COGS;
+ DEFAULT := nan;
+END_DEFUZZIFY
+
+RULEBLOCK
+ AND : MIN;
+ RULE 1 : if LDLLevel is Low and HDLLevel is LowHDL then HeartDiseaseRisk is MediumRisk
+ RULE 2 : if LDLLevel is Low and HDLLevel is ModerateHDL then HeartDiseaseRisk is LowRisk
+ RULE 3 : if LDLLevel is Low and HDLLevel is HighHDL then HeartDiseaseRisk is NoRisk
+ RULE 4 : if LDLLevel is LowBorderline and HDLLevel is LowHDL then HeartDiseaseRisk is MediumRisk
+ RULE 5 : if LDLLevel is LowBorderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is LowRisk
+ RULE 6 : if LDLLevel is LowBorderline and HDLLevel is HighHDL then HeartDiseaseRisk is LowRisk
+ RULE 7 : if LDLLevel is Borderline and HDLLevel is LowHDL then HeartDiseaseRisk is HighRisk
+ RULE 8 : if LDLLevel is Borderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is MediumRisk
+ RULE 9 : if LDLLevel is Borderline and HDLLevel is HighHDL then HeartDiseaseRisk is LowRisk
+ RULE 10 : if LDLLevel is HighBorderline and HDLLevel is LowHDL then HeartDiseaseRisk is HighRisk
+ RULE 11 : if LDLLevel is HighBorderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is HighRisk
+ RULE 12 : if LDLLevel is HighBorderline and HDLLevel is HighHDL then HeartDiseaseRisk is MediumRisk
+ RULE 13 : if LDLLevel is High and HDLLevel is LowHDL then HeartDiseaseRisk is ExtremeRisk
+ RULE 14 : if LDLLevel is High and HDLLevel is ModerateHDL then HeartDiseaseRisk is HighRisk
+ RULE 15 : if LDLLevel is High and HDLLevel is HighHDL then HeartDiseaseRisk is MediumRisk
+END_RULEBLOCK
+
+END_FUNCTION_BLOCK
diff --git a/examples/takagi-sugeno/octave/heart_disease_risk.fis b/examples/takagi-sugeno/octave/heart_disease_risk.fis
new file mode 100644
index 0000000..11686f1
--- /dev/null
+++ b/examples/takagi-sugeno/octave/heart_disease_risk.fis
@@ -0,0 +1,56 @@
+[System]
+Name='Heart-Disease-Risk'
+Type='sugeno'
+NumInputs=2
+NumOutputs=1
+NumRules=15
+AndMethod='min'
+OrMethod=''
+ImpMethod=''
+AggMethod=''
+DefuzzMethod='wtaver'
+
+[Input1]
+Name='LDLLevel'
+Range=[0.000 300.000]
+NumMFs=5
+MF1='Low':'trapmf',[-1.000 0.000 90.000 110.000]
+MF2='LowBorderline':'trapmf',[90.000 110.000 120.000 140.000]
+MF3='Borderline':'trapmf',[120.000 140.000 150.000 170.000]
+MF4='HighBorderline':'trapmf',[150.000 170.000 180.000 200.000]
+MF5='High':'trapmf',[180.000 200.000 300.000 301.000]
+
+[Input2]
+Name='HDLLevel'
+Range=[0.000 100.000]
+NumMFs=3
+MF1='LowHDL':'trapmf',[-1.000 0.000 35.000 45.000]
+MF2='ModerateHDL':'trapmf',[35.000 45.000 55.000 65.000]
+MF3='HighHDL':'trapmf',[55.000 65.000 100.000 101.000]
+
+[Output1]
+Name='HeartDiseaseRisk'
+Range=[0.000 10.000]
+NumMFs=5
+MF1='NoRisk':'constant',[0.000]
+MF2='LowRisk':'constant',[2.500]
+MF3='MediumRisk':'constant',[5.000]
+MF4='HighRisk':'constant',[7.500]
+MF5='ExtremeRisk':'constant',[10.000]
+
+[Rules]
+1.000 1.000 , 3.000 (1.000) : 1
+1.000 2.000 , 2.000 (1.000) : 1
+1.000 3.000 , 1.000 (1.000) : 1
+2.000 1.000 , 3.000 (1.000) : 1
+2.000 2.000 , 2.000 (1.000) : 1
+2.000 3.000 , 2.000 (1.000) : 1
+3.000 1.000 , 4.000 (1.000) : 1
+3.000 2.000 , 3.000 (1.000) : 1
+3.000 3.000 , 2.000 (1.000) : 1
+4.000 1.000 , 4.000 (1.000) : 1
+4.000 2.000 , 4.000 (1.000) : 1
+4.000 3.000 , 3.000 (1.000) : 1
+5.000 1.000 , 5.000 (1.000) : 1
+5.000 2.000 , 4.000 (1.000) : 1
+5.000 3.000 , 3.000 (1.000) : 1
diff --git a/examples/takagi-sugeno/octave/heart_disease_risk.fld b/examples/takagi-sugeno/octave/heart_disease_risk.fld
new file mode 100644
index 0000000..afc1fe0
--- /dev/null
+++ b/examples/takagi-sugeno/octave/heart_disease_risk.fld
@@ -0,0 +1,1026 @@
+#@Engine: Heart-Disease-Risk;
+#@InputVariable: LDLLevel; @InputVariable: HDLLevel; @OutputVariable: HeartDiseaseRisk;
+0.00000000 0.00000000 5.00000000
+0.00000000 3.22580645 5.00000000
+0.00000000 6.45161290 5.00000000
+0.00000000 9.67741935 5.00000000
+0.00000000 12.90322581 5.00000000
+0.00000000 16.12903226 5.00000000
+0.00000000 19.35483871 5.00000000
+0.00000000 22.58064516 5.00000000
+0.00000000 25.80645161 5.00000000
+0.00000000 29.03225806 5.00000000
+0.00000000 32.25806452 5.00000000
+0.00000000 35.48387097 4.87903226
+0.00000000 38.70967742 4.07258065
+0.00000000 41.93548387 3.26612903
+0.00000000 45.16129032 2.50000000
+0.00000000 48.38709677 2.50000000
+0.00000000 51.61290323 2.50000000
+0.00000000 54.83870968 2.50000000
+0.00000000 58.06451613 1.73387097
+0.00000000 61.29032258 0.92741935
+0.00000000 64.51612903 0.12096774
+0.00000000 67.74193548 0.00000000
+0.00000000 70.96774194 0.00000000
+0.00000000 74.19354839 0.00000000
+0.00000000 77.41935484 0.00000000
+0.00000000 80.64516129 0.00000000
+0.00000000 83.87096774 0.00000000
+0.00000000 87.09677419 0.00000000
+0.00000000 90.32258065 0.00000000
+0.00000000 93.54838710 0.00000000
+0.00000000 96.77419355 0.00000000
+0.00000000 100.00000000 0.00000000
+9.67741935 0.00000000 5.00000000
+9.67741935 3.22580645 5.00000000
+9.67741935 6.45161290 5.00000000
+9.67741935 9.67741935 5.00000000
+9.67741935 12.90322581 5.00000000
+9.67741935 16.12903226 5.00000000
+9.67741935 19.35483871 5.00000000
+9.67741935 22.58064516 5.00000000
+9.67741935 25.80645161 5.00000000
+9.67741935 29.03225806 5.00000000
+9.67741935 32.25806452 5.00000000
+9.67741935 35.48387097 4.87903226
+9.67741935 38.70967742 4.07258065
+9.67741935 41.93548387 3.26612903
+9.67741935 45.16129032 2.50000000
+9.67741935 48.38709677 2.50000000
+9.67741935 51.61290323 2.50000000
+9.67741935 54.83870968 2.50000000
+9.67741935 58.06451613 1.73387097
+9.67741935 61.29032258 0.92741935
+9.67741935 64.51612903 0.12096774
+9.67741935 67.74193548 0.00000000
+9.67741935 70.96774194 0.00000000
+9.67741935 74.19354839 0.00000000
+9.67741935 77.41935484 0.00000000
+9.67741935 80.64516129 0.00000000
+9.67741935 83.87096774 0.00000000
+9.67741935 87.09677419 0.00000000
+9.67741935 90.32258065 0.00000000
+9.67741935 93.54838710 0.00000000
+9.67741935 96.77419355 0.00000000
+9.67741935 100.00000000 0.00000000
+19.35483871 0.00000000 5.00000000
+19.35483871 3.22580645 5.00000000
+19.35483871 6.45161290 5.00000000
+19.35483871 9.67741935 5.00000000
+19.35483871 12.90322581 5.00000000
+19.35483871 16.12903226 5.00000000
+19.35483871 19.35483871 5.00000000
+19.35483871 22.58064516 5.00000000
+19.35483871 25.80645161 5.00000000
+19.35483871 29.03225806 5.00000000
+19.35483871 32.25806452 5.00000000
+19.35483871 35.48387097 4.87903226
+19.35483871 38.70967742 4.07258065
+19.35483871 41.93548387 3.26612903
+19.35483871 45.16129032 2.50000000
+19.35483871 48.38709677 2.50000000
+19.35483871 51.61290323 2.50000000
+19.35483871 54.83870968 2.50000000
+19.35483871 58.06451613 1.73387097
+19.35483871 61.29032258 0.92741935
+19.35483871 64.51612903 0.12096774
+19.35483871 67.74193548 0.00000000
+19.35483871 70.96774194 0.00000000
+19.35483871 74.19354839 0.00000000
+19.35483871 77.41935484 0.00000000
+19.35483871 80.64516129 0.00000000
+19.35483871 83.87096774 0.00000000
+19.35483871 87.09677419 0.00000000
+19.35483871 90.32258065 0.00000000
+19.35483871 93.54838710 0.00000000
+19.35483871 96.77419355 0.00000000
+19.35483871 100.00000000 0.00000000
+29.03225806 0.00000000 5.00000000
+29.03225806 3.22580645 5.00000000
+29.03225806 6.45161290 5.00000000
+29.03225806 9.67741935 5.00000000
+29.03225806 12.90322581 5.00000000
+29.03225806 16.12903226 5.00000000
+29.03225806 19.35483871 5.00000000
+29.03225806 22.58064516 5.00000000
+29.03225806 25.80645161 5.00000000
+29.03225806 29.03225806 5.00000000
+29.03225806 32.25806452 5.00000000
+29.03225806 35.48387097 4.87903226
+29.03225806 38.70967742 4.07258065
+29.03225806 41.93548387 3.26612903
+29.03225806 45.16129032 2.50000000
+29.03225806 48.38709677 2.50000000
+29.03225806 51.61290323 2.50000000
+29.03225806 54.83870968 2.50000000
+29.03225806 58.06451613 1.73387097
+29.03225806 61.29032258 0.92741935
+29.03225806 64.51612903 0.12096774
+29.03225806 67.74193548 0.00000000
+29.03225806 70.96774194 0.00000000
+29.03225806 74.19354839 0.00000000
+29.03225806 77.41935484 0.00000000
+29.03225806 80.64516129 0.00000000
+29.03225806 83.87096774 0.00000000
+29.03225806 87.09677419 0.00000000
+29.03225806 90.32258065 0.00000000
+29.03225806 93.54838710 0.00000000
+29.03225806 96.77419355 0.00000000
+29.03225806 100.00000000 0.00000000
+38.70967742 0.00000000 5.00000000
+38.70967742 3.22580645 5.00000000
+38.70967742 6.45161290 5.00000000
+38.70967742 9.67741935 5.00000000
+38.70967742 12.90322581 5.00000000
+38.70967742 16.12903226 5.00000000
+38.70967742 19.35483871 5.00000000
+38.70967742 22.58064516 5.00000000
+38.70967742 25.80645161 5.00000000
+38.70967742 29.03225806 5.00000000
+38.70967742 32.25806452 5.00000000
+38.70967742 35.48387097 4.87903226
+38.70967742 38.70967742 4.07258065
+38.70967742 41.93548387 3.26612903
+38.70967742 45.16129032 2.50000000
+38.70967742 48.38709677 2.50000000
+38.70967742 51.61290323 2.50000000
+38.70967742 54.83870968 2.50000000
+38.70967742 58.06451613 1.73387097
+38.70967742 61.29032258 0.92741935
+38.70967742 64.51612903 0.12096774
+38.70967742 67.74193548 0.00000000
+38.70967742 70.96774194 0.00000000
+38.70967742 74.19354839 0.00000000
+38.70967742 77.41935484 0.00000000
+38.70967742 80.64516129 0.00000000
+38.70967742 83.87096774 0.00000000
+38.70967742 87.09677419 0.00000000
+38.70967742 90.32258065 0.00000000
+38.70967742 93.54838710 0.00000000
+38.70967742 96.77419355 0.00000000
+38.70967742 100.00000000 0.00000000
+48.38709677 0.00000000 5.00000000
+48.38709677 3.22580645 5.00000000
+48.38709677 6.45161290 5.00000000
+48.38709677 9.67741935 5.00000000
+48.38709677 12.90322581 5.00000000
+48.38709677 16.12903226 5.00000000
+48.38709677 19.35483871 5.00000000
+48.38709677 22.58064516 5.00000000
+48.38709677 25.80645161 5.00000000
+48.38709677 29.03225806 5.00000000
+48.38709677 32.25806452 5.00000000
+48.38709677 35.48387097 4.87903226
+48.38709677 38.70967742 4.07258065
+48.38709677 41.93548387 3.26612903
+48.38709677 45.16129032 2.50000000
+48.38709677 48.38709677 2.50000000
+48.38709677 51.61290323 2.50000000
+48.38709677 54.83870968 2.50000000
+48.38709677 58.06451613 1.73387097
+48.38709677 61.29032258 0.92741935
+48.38709677 64.51612903 0.12096774
+48.38709677 67.74193548 0.00000000
+48.38709677 70.96774194 0.00000000
+48.38709677 74.19354839 0.00000000
+48.38709677 77.41935484 0.00000000
+48.38709677 80.64516129 0.00000000
+48.38709677 83.87096774 0.00000000
+48.38709677 87.09677419 0.00000000
+48.38709677 90.32258065 0.00000000
+48.38709677 93.54838710 0.00000000
+48.38709677 96.77419355 0.00000000
+48.38709677 100.00000000 0.00000000
+58.06451613 0.00000000 5.00000000
+58.06451613 3.22580645 5.00000000
+58.06451613 6.45161290 5.00000000
+58.06451613 9.67741935 5.00000000
+58.06451613 12.90322581 5.00000000
+58.06451613 16.12903226 5.00000000
+58.06451613 19.35483871 5.00000000
+58.06451613 22.58064516 5.00000000
+58.06451613 25.80645161 5.00000000
+58.06451613 29.03225806 5.00000000
+58.06451613 32.25806452 5.00000000
+58.06451613 35.48387097 4.87903226
+58.06451613 38.70967742 4.07258065
+58.06451613 41.93548387 3.26612903
+58.06451613 45.16129032 2.50000000
+58.06451613 48.38709677 2.50000000
+58.06451613 51.61290323 2.50000000
+58.06451613 54.83870968 2.50000000
+58.06451613 58.06451613 1.73387097
+58.06451613 61.29032258 0.92741935
+58.06451613 64.51612903 0.12096774
+58.06451613 67.74193548 0.00000000
+58.06451613 70.96774194 0.00000000
+58.06451613 74.19354839 0.00000000
+58.06451613 77.41935484 0.00000000
+58.06451613 80.64516129 0.00000000
+58.06451613 83.87096774 0.00000000
+58.06451613 87.09677419 0.00000000
+58.06451613 90.32258065 0.00000000
+58.06451613 93.54838710 0.00000000
+58.06451613 96.77419355 0.00000000
+58.06451613 100.00000000 0.00000000
+67.74193548 0.00000000 5.00000000
+67.74193548 3.22580645 5.00000000
+67.74193548 6.45161290 5.00000000
+67.74193548 9.67741935 5.00000000
+67.74193548 12.90322581 5.00000000
+67.74193548 16.12903226 5.00000000
+67.74193548 19.35483871 5.00000000
+67.74193548 22.58064516 5.00000000
+67.74193548 25.80645161 5.00000000
+67.74193548 29.03225806 5.00000000
+67.74193548 32.25806452 5.00000000
+67.74193548 35.48387097 4.87903226
+67.74193548 38.70967742 4.07258065
+67.74193548 41.93548387 3.26612903
+67.74193548 45.16129032 2.50000000
+67.74193548 48.38709677 2.50000000
+67.74193548 51.61290323 2.50000000
+67.74193548 54.83870968 2.50000000
+67.74193548 58.06451613 1.73387097
+67.74193548 61.29032258 0.92741935
+67.74193548 64.51612903 0.12096774
+67.74193548 67.74193548 0.00000000
+67.74193548 70.96774194 0.00000000
+67.74193548 74.19354839 0.00000000
+67.74193548 77.41935484 0.00000000
+67.74193548 80.64516129 0.00000000
+67.74193548 83.87096774 0.00000000
+67.74193548 87.09677419 0.00000000
+67.74193548 90.32258065 0.00000000
+67.74193548 93.54838710 0.00000000
+67.74193548 96.77419355 0.00000000
+67.74193548 100.00000000 0.00000000
+77.41935484 0.00000000 5.00000000
+77.41935484 3.22580645 5.00000000
+77.41935484 6.45161290 5.00000000
+77.41935484 9.67741935 5.00000000
+77.41935484 12.90322581 5.00000000
+77.41935484 16.12903226 5.00000000
+77.41935484 19.35483871 5.00000000
+77.41935484 22.58064516 5.00000000
+77.41935484 25.80645161 5.00000000
+77.41935484 29.03225806 5.00000000
+77.41935484 32.25806452 5.00000000
+77.41935484 35.48387097 4.87903226
+77.41935484 38.70967742 4.07258065
+77.41935484 41.93548387 3.26612903
+77.41935484 45.16129032 2.50000000
+77.41935484 48.38709677 2.50000000
+77.41935484 51.61290323 2.50000000
+77.41935484 54.83870968 2.50000000
+77.41935484 58.06451613 1.73387097
+77.41935484 61.29032258 0.92741935
+77.41935484 64.51612903 0.12096774
+77.41935484 67.74193548 0.00000000
+77.41935484 70.96774194 0.00000000
+77.41935484 74.19354839 0.00000000
+77.41935484 77.41935484 0.00000000
+77.41935484 80.64516129 0.00000000
+77.41935484 83.87096774 0.00000000
+77.41935484 87.09677419 0.00000000
+77.41935484 90.32258065 0.00000000
+77.41935484 93.54838710 0.00000000
+77.41935484 96.77419355 0.00000000
+77.41935484 100.00000000 0.00000000
+87.09677419 0.00000000 5.00000000
+87.09677419 3.22580645 5.00000000
+87.09677419 6.45161290 5.00000000
+87.09677419 9.67741935 5.00000000
+87.09677419 12.90322581 5.00000000
+87.09677419 16.12903226 5.00000000
+87.09677419 19.35483871 5.00000000
+87.09677419 22.58064516 5.00000000
+87.09677419 25.80645161 5.00000000
+87.09677419 29.03225806 5.00000000
+87.09677419 32.25806452 5.00000000
+87.09677419 35.48387097 4.87903226
+87.09677419 38.70967742 4.07258065
+87.09677419 41.93548387 3.26612903
+87.09677419 45.16129032 2.50000000
+87.09677419 48.38709677 2.50000000
+87.09677419 51.61290323 2.50000000
+87.09677419 54.83870968 2.50000000
+87.09677419 58.06451613 1.73387097
+87.09677419 61.29032258 0.92741935
+87.09677419 64.51612903 0.12096774
+87.09677419 67.74193548 0.00000000
+87.09677419 70.96774194 0.00000000
+87.09677419 74.19354839 0.00000000
+87.09677419 77.41935484 0.00000000
+87.09677419 80.64516129 0.00000000
+87.09677419 83.87096774 0.00000000
+87.09677419 87.09677419 0.00000000
+87.09677419 90.32258065 0.00000000
+87.09677419 93.54838710 0.00000000
+87.09677419 96.77419355 0.00000000
+87.09677419 100.00000000 0.00000000
+96.77419355 0.00000000 5.00000000
+96.77419355 3.22580645 5.00000000
+96.77419355 6.45161290 5.00000000
+96.77419355 9.67741935 5.00000000
+96.77419355 12.90322581 5.00000000
+96.77419355 16.12903226 5.00000000
+96.77419355 19.35483871 5.00000000
+96.77419355 22.58064516 5.00000000
+96.77419355 25.80645161 5.00000000
+96.77419355 29.03225806 5.00000000
+96.77419355 32.25806452 5.00000000
+96.77419355 35.48387097 4.77941176
+96.77419355 38.70967742 3.94230769
+96.77419355 41.93548387 3.45000000
+96.77419355 45.16129032 2.50000000
+96.77419355 48.38709677 2.50000000
+96.77419355 51.61290323 2.50000000
+96.77419355 54.83870968 2.50000000
+96.77419355 58.06451613 2.02500000
+96.77419355 61.29032258 1.56250000
+96.77419355 64.51612903 0.99264706
+96.77419355 67.74193548 0.84677419
+96.77419355 70.96774194 0.84677419
+96.77419355 74.19354839 0.84677419
+96.77419355 77.41935484 0.84677419
+96.77419355 80.64516129 0.84677419
+96.77419355 83.87096774 0.84677419
+96.77419355 87.09677419 0.84677419
+96.77419355 90.32258065 0.84677419
+96.77419355 93.54838710 0.84677419
+96.77419355 96.77419355 0.84677419
+96.77419355 100.00000000 0.84677419
+106.45161290 0.00000000 5.00000000
+106.45161290 3.22580645 5.00000000
+106.45161290 6.45161290 5.00000000
+106.45161290 9.67741935 5.00000000
+106.45161290 12.90322581 5.00000000
+106.45161290 16.12903226 5.00000000
+106.45161290 19.35483871 5.00000000
+106.45161290 22.58064516 5.00000000
+106.45161290 25.80645161 5.00000000
+106.45161290 29.03225806 5.00000000
+106.45161290 32.25806452 5.00000000
+106.45161290 35.48387097 4.77941176
+106.45161290 38.70967742 3.98809524
+106.45161290 41.93548387 3.39285714
+106.45161290 45.16129032 2.50000000
+106.45161290 48.38709677 2.50000000
+106.45161290 51.61290323 2.50000000
+106.45161290 54.83870968 2.50000000
+106.45161290 58.06451613 2.17261905
+106.45161290 61.29032258 2.17261905
+106.45161290 64.51612903 2.09558824
+106.45161290 67.74193548 2.05645161
+106.45161290 70.96774194 2.05645161
+106.45161290 74.19354839 2.05645161
+106.45161290 77.41935484 2.05645161
+106.45161290 80.64516129 2.05645161
+106.45161290 83.87096774 2.05645161
+106.45161290 87.09677419 2.05645161
+106.45161290 90.32258065 2.05645161
+106.45161290 93.54838710 2.05645161
+106.45161290 96.77419355 2.05645161
+106.45161290 100.00000000 2.05645161
+116.12903226 0.00000000 5.00000000
+116.12903226 3.22580645 5.00000000
+116.12903226 6.45161290 5.00000000
+116.12903226 9.67741935 5.00000000
+116.12903226 12.90322581 5.00000000
+116.12903226 16.12903226 5.00000000
+116.12903226 19.35483871 5.00000000
+116.12903226 22.58064516 5.00000000
+116.12903226 25.80645161 5.00000000
+116.12903226 29.03225806 5.00000000
+116.12903226 32.25806452 5.00000000
+116.12903226 35.48387097 4.87903226
+116.12903226 38.70967742 4.07258065
+116.12903226 41.93548387 3.26612903
+116.12903226 45.16129032 2.50000000
+116.12903226 48.38709677 2.50000000
+116.12903226 51.61290323 2.50000000
+116.12903226 54.83870968 2.50000000
+116.12903226 58.06451613 2.50000000
+116.12903226 61.29032258 2.50000000
+116.12903226 64.51612903 2.50000000
+116.12903226 67.74193548 2.50000000
+116.12903226 70.96774194 2.50000000
+116.12903226 74.19354839 2.50000000
+116.12903226 77.41935484 2.50000000
+116.12903226 80.64516129 2.50000000
+116.12903226 83.87096774 2.50000000
+116.12903226 87.09677419 2.50000000
+116.12903226 90.32258065 2.50000000
+116.12903226 93.54838710 2.50000000
+116.12903226 96.77419355 2.50000000
+116.12903226 100.00000000 2.50000000
+125.80645161 0.00000000 5.72580645
+125.80645161 3.22580645 5.72580645
+125.80645161 6.45161290 5.72580645
+125.80645161 9.67741935 5.72580645
+125.80645161 12.90322581 5.72580645
+125.80645161 16.12903226 5.72580645
+125.80645161 19.35483871 5.72580645
+125.80645161 22.58064516 5.72580645
+125.80645161 25.80645161 5.72580645
+125.80645161 29.03225806 5.72580645
+125.80645161 32.25806452 5.72580645
+125.80645161 35.48387097 5.55147059
+125.80645161 38.70967742 4.87244898
+125.80645161 41.93548387 4.36224490
+125.80645161 45.16129032 3.22580645
+125.80645161 48.38709677 3.22580645
+125.80645161 51.61290323 3.22580645
+125.80645161 54.83870968 3.22580645
+125.80645161 58.06451613 2.95918367
+125.80645161 61.29032258 2.95918367
+125.80645161 64.51612903 2.61029412
+125.80645161 67.74193548 2.50000000
+125.80645161 70.96774194 2.50000000
+125.80645161 74.19354839 2.50000000
+125.80645161 77.41935484 2.50000000
+125.80645161 80.64516129 2.50000000
+125.80645161 83.87096774 2.50000000
+125.80645161 87.09677419 2.50000000
+125.80645161 90.32258065 2.50000000
+125.80645161 93.54838710 2.50000000
+125.80645161 96.77419355 2.50000000
+125.80645161 100.00000000 2.50000000
+135.48387097 0.00000000 6.93548387
+135.48387097 3.22580645 6.93548387
+135.48387097 6.45161290 6.93548387
+135.48387097 9.67741935 6.93548387
+135.48387097 12.90322581 6.93548387
+135.48387097 16.12903226 6.93548387
+135.48387097 19.35483871 6.93548387
+135.48387097 22.58064516 6.93548387
+135.48387097 25.80645161 6.93548387
+135.48387097 29.03225806 6.93548387
+135.48387097 32.25806452 6.93548387
+135.48387097 35.48387097 6.65441176
+135.48387097 38.70967742 5.69444444
+135.48387097 41.93548387 5.13888889
+135.48387097 45.16129032 4.43548387
+135.48387097 48.38709677 4.43548387
+135.48387097 51.61290323 4.43548387
+135.48387097 54.83870968 4.43548387
+135.48387097 58.06451613 3.69444444
+135.48387097 61.29032258 3.13888889
+135.48387097 64.51612903 2.61029412
+135.48387097 67.74193548 2.50000000
+135.48387097 70.96774194 2.50000000
+135.48387097 74.19354839 2.50000000
+135.48387097 77.41935484 2.50000000
+135.48387097 80.64516129 2.50000000
+135.48387097 83.87096774 2.50000000
+135.48387097 87.09677419 2.50000000
+135.48387097 90.32258065 2.50000000
+135.48387097 93.54838710 2.50000000
+135.48387097 96.77419355 2.50000000
+135.48387097 100.00000000 2.50000000
+145.16129032 0.00000000 7.50000000
+145.16129032 3.22580645 7.50000000
+145.16129032 6.45161290 7.50000000
+145.16129032 9.67741935 7.50000000
+145.16129032 12.90322581 7.50000000
+145.16129032 16.12903226 7.50000000
+145.16129032 19.35483871 7.50000000
+145.16129032 22.58064516 7.50000000
+145.16129032 25.80645161 7.50000000
+145.16129032 29.03225806 7.50000000
+145.16129032 32.25806452 7.50000000
+145.16129032 35.48387097 7.37903226
+145.16129032 38.70967742 6.57258065
+145.16129032 41.93548387 5.76612903
+145.16129032 45.16129032 5.00000000
+145.16129032 48.38709677 5.00000000
+145.16129032 51.61290323 5.00000000
+145.16129032 54.83870968 5.00000000
+145.16129032 58.06451613 4.23387097
+145.16129032 61.29032258 3.42741935
+145.16129032 64.51612903 2.62096774
+145.16129032 67.74193548 2.50000000
+145.16129032 70.96774194 2.50000000
+145.16129032 74.19354839 2.50000000
+145.16129032 77.41935484 2.50000000
+145.16129032 80.64516129 2.50000000
+145.16129032 83.87096774 2.50000000
+145.16129032 87.09677419 2.50000000
+145.16129032 90.32258065 2.50000000
+145.16129032 93.54838710 2.50000000
+145.16129032 96.77419355 2.50000000
+145.16129032 100.00000000 2.50000000
+154.83870968 0.00000000 7.50000000
+154.83870968 3.22580645 7.50000000
+154.83870968 6.45161290 7.50000000
+154.83870968 9.67741935 7.50000000
+154.83870968 12.90322581 7.50000000
+154.83870968 16.12903226 7.50000000
+154.83870968 19.35483871 7.50000000
+154.83870968 22.58064516 7.50000000
+154.83870968 25.80645161 7.50000000
+154.83870968 29.03225806 7.50000000
+154.83870968 32.25806452 7.50000000
+154.83870968 35.48387097 7.38970588
+154.83870968 38.70967742 6.87500000
+154.83870968 41.93548387 6.33152174
+154.83870968 45.16129032 5.60483871
+154.83870968 48.38709677 5.60483871
+154.83870968 51.61290323 5.60483871
+154.83870968 54.83870968 5.60483871
+154.83870968 58.06451613 4.89130435
+154.83870968 61.29032258 4.34782609
+154.83870968 64.51612903 3.38235294
+154.83870968 67.74193548 3.10483871
+154.83870968 70.96774194 3.10483871
+154.83870968 74.19354839 3.10483871
+154.83870968 77.41935484 3.10483871
+154.83870968 80.64516129 3.10483871
+154.83870968 83.87096774 3.10483871
+154.83870968 87.09677419 3.10483871
+154.83870968 90.32258065 3.10483871
+154.83870968 93.54838710 3.10483871
+154.83870968 96.77419355 3.10483871
+154.83870968 100.00000000 3.10483871
+164.51612903 0.00000000 7.50000000
+164.51612903 3.22580645 7.50000000
+164.51612903 6.45161290 7.50000000
+164.51612903 9.67741935 7.50000000
+164.51612903 12.90322581 7.50000000
+164.51612903 16.12903226 7.50000000
+164.51612903 19.35483871 7.50000000
+164.51612903 22.58064516 7.50000000
+164.51612903 25.80645161 7.50000000
+164.51612903 29.03225806 7.50000000
+164.51612903 32.25806452 7.50000000
+164.51612903 35.48387097 7.38970588
+164.51612903 38.70967742 7.05729167
+164.51612903 41.93548387 7.05729167
+164.51612903 45.16129032 6.81451613
+164.51612903 48.38709677 6.81451613
+164.51612903 51.61290323 6.81451613
+164.51612903 54.83870968 6.81451613
+164.51612903 58.06451613 5.67708333
+164.51612903 61.29032258 5.15625000
+164.51612903 64.51612903 4.48529412
+164.51612903 67.74193548 4.31451613
+164.51612903 70.96774194 4.31451613
+164.51612903 74.19354839 4.31451613
+164.51612903 77.41935484 4.31451613
+164.51612903 80.64516129 4.31451613
+164.51612903 83.87096774 4.31451613
+164.51612903 87.09677419 4.31451613
+164.51612903 90.32258065 4.31451613
+164.51612903 93.54838710 4.31451613
+164.51612903 96.77419355 4.31451613
+164.51612903 100.00000000 4.31451613
+174.19354839 0.00000000 7.50000000
+174.19354839 3.22580645 7.50000000
+174.19354839 6.45161290 7.50000000
+174.19354839 9.67741935 7.50000000
+174.19354839 12.90322581 7.50000000
+174.19354839 16.12903226 7.50000000
+174.19354839 19.35483871 7.50000000
+174.19354839 22.58064516 7.50000000
+174.19354839 25.80645161 7.50000000
+174.19354839 29.03225806 7.50000000
+174.19354839 32.25806452 7.50000000
+174.19354839 35.48387097 7.50000000
+174.19354839 38.70967742 7.50000000
+174.19354839 41.93548387 7.50000000
+174.19354839 45.16129032 7.50000000
+174.19354839 48.38709677 7.50000000
+174.19354839 51.61290323 7.50000000
+174.19354839 54.83870968 7.50000000
+174.19354839 58.06451613 6.73387097
+174.19354839 61.29032258 5.92741935
+174.19354839 64.51612903 5.12096774
+174.19354839 67.74193548 5.00000000
+174.19354839 70.96774194 5.00000000
+174.19354839 74.19354839 5.00000000
+174.19354839 77.41935484 5.00000000
+174.19354839 80.64516129 5.00000000
+174.19354839 83.87096774 5.00000000
+174.19354839 87.09677419 5.00000000
+174.19354839 90.32258065 5.00000000
+174.19354839 93.54838710 5.00000000
+174.19354839 96.77419355 5.00000000
+174.19354839 100.00000000 5.00000000
+183.87096774 0.00000000 7.98387097
+183.87096774 3.22580645 7.98387097
+183.87096774 6.45161290 7.98387097
+183.87096774 9.67741935 7.98387097
+183.87096774 12.90322581 7.98387097
+183.87096774 16.12903226 7.98387097
+183.87096774 19.35483871 7.98387097
+183.87096774 22.58064516 7.98387097
+183.87096774 25.80645161 7.98387097
+183.87096774 29.03225806 7.98387097
+183.87096774 32.25806452 7.98387097
+183.87096774 35.48387097 7.94117647
+183.87096774 38.70967742 7.84883721
+183.87096774 41.93548387 7.84883721
+183.87096774 45.16129032 7.50000000
+183.87096774 48.38709677 7.50000000
+183.87096774 51.61290323 7.50000000
+183.87096774 54.83870968 7.50000000
+183.87096774 58.06451613 6.59883721
+183.87096774 61.29032258 6.01744186
+183.87096774 64.51612903 5.22058824
+183.87096774 67.74193548 5.00000000
+183.87096774 70.96774194 5.00000000
+183.87096774 74.19354839 5.00000000
+183.87096774 77.41935484 5.00000000
+183.87096774 80.64516129 5.00000000
+183.87096774 83.87096774 5.00000000
+183.87096774 87.09677419 5.00000000
+183.87096774 90.32258065 5.00000000
+183.87096774 93.54838710 5.00000000
+183.87096774 96.77419355 5.00000000
+183.87096774 100.00000000 5.00000000
+193.54838710 0.00000000 9.19354839
+193.54838710 3.22580645 9.19354839
+193.54838710 6.45161290 9.19354839
+193.54838710 9.67741935 9.19354839
+193.54838710 12.90322581 9.19354839
+193.54838710 16.12903226 9.19354839
+193.54838710 19.35483871 9.19354839
+193.54838710 22.58064516 9.19354839
+193.54838710 25.80645161 9.19354839
+193.54838710 29.03225806 9.19354839
+193.54838710 32.25806452 9.19354839
+193.54838710 35.48387097 9.04411765
+193.54838710 38.70967742 8.45588235
+193.54838710 41.93548387 7.97500000
+193.54838710 45.16129032 7.50000000
+193.54838710 48.38709677 7.50000000
+193.54838710 51.61290323 7.50000000
+193.54838710 54.83870968 7.50000000
+193.54838710 58.06451613 6.55000000
+193.54838710 61.29032258 6.05392157
+193.54838710 64.51612903 5.22058824
+193.54838710 67.74193548 5.00000000
+193.54838710 70.96774194 5.00000000
+193.54838710 74.19354839 5.00000000
+193.54838710 77.41935484 5.00000000
+193.54838710 80.64516129 5.00000000
+193.54838710 83.87096774 5.00000000
+193.54838710 87.09677419 5.00000000
+193.54838710 90.32258065 5.00000000
+193.54838710 93.54838710 5.00000000
+193.54838710 96.77419355 5.00000000
+193.54838710 100.00000000 5.00000000
+203.22580645 0.00000000 10.00000000
+203.22580645 3.22580645 10.00000000
+203.22580645 6.45161290 10.00000000
+203.22580645 9.67741935 10.00000000
+203.22580645 12.90322581 10.00000000
+203.22580645 16.12903226 10.00000000
+203.22580645 19.35483871 10.00000000
+203.22580645 22.58064516 10.00000000
+203.22580645 25.80645161 10.00000000
+203.22580645 29.03225806 10.00000000
+203.22580645 32.25806452 10.00000000
+203.22580645 35.48387097 9.87903226
+203.22580645 38.70967742 9.07258065
+203.22580645 41.93548387 8.26612903
+203.22580645 45.16129032 7.50000000
+203.22580645 48.38709677 7.50000000
+203.22580645 51.61290323 7.50000000
+203.22580645 54.83870968 7.50000000
+203.22580645 58.06451613 6.73387097
+203.22580645 61.29032258 5.92741935
+203.22580645 64.51612903 5.12096774
+203.22580645 67.74193548 5.00000000
+203.22580645 70.96774194 5.00000000
+203.22580645 74.19354839 5.00000000
+203.22580645 77.41935484 5.00000000
+203.22580645 80.64516129 5.00000000
+203.22580645 83.87096774 5.00000000
+203.22580645 87.09677419 5.00000000
+203.22580645 90.32258065 5.00000000
+203.22580645 93.54838710 5.00000000
+203.22580645 96.77419355 5.00000000
+203.22580645 100.00000000 5.00000000
+212.90322581 0.00000000 10.00000000
+212.90322581 3.22580645 10.00000000
+212.90322581 6.45161290 10.00000000
+212.90322581 9.67741935 10.00000000
+212.90322581 12.90322581 10.00000000
+212.90322581 16.12903226 10.00000000
+212.90322581 19.35483871 10.00000000
+212.90322581 22.58064516 10.00000000
+212.90322581 25.80645161 10.00000000
+212.90322581 29.03225806 10.00000000
+212.90322581 32.25806452 10.00000000
+212.90322581 35.48387097 9.87903226
+212.90322581 38.70967742 9.07258065
+212.90322581 41.93548387 8.26612903
+212.90322581 45.16129032 7.50000000
+212.90322581 48.38709677 7.50000000
+212.90322581 51.61290323 7.50000000
+212.90322581 54.83870968 7.50000000
+212.90322581 58.06451613 6.73387097
+212.90322581 61.29032258 5.92741935
+212.90322581 64.51612903 5.12096774
+212.90322581 67.74193548 5.00000000
+212.90322581 70.96774194 5.00000000
+212.90322581 74.19354839 5.00000000
+212.90322581 77.41935484 5.00000000
+212.90322581 80.64516129 5.00000000
+212.90322581 83.87096774 5.00000000
+212.90322581 87.09677419 5.00000000
+212.90322581 90.32258065 5.00000000
+212.90322581 93.54838710 5.00000000
+212.90322581 96.77419355 5.00000000
+212.90322581 100.00000000 5.00000000
+222.58064516 0.00000000 10.00000000
+222.58064516 3.22580645 10.00000000
+222.58064516 6.45161290 10.00000000
+222.58064516 9.67741935 10.00000000
+222.58064516 12.90322581 10.00000000
+222.58064516 16.12903226 10.00000000
+222.58064516 19.35483871 10.00000000
+222.58064516 22.58064516 10.00000000
+222.58064516 25.80645161 10.00000000
+222.58064516 29.03225806 10.00000000
+222.58064516 32.25806452 10.00000000
+222.58064516 35.48387097 9.87903226
+222.58064516 38.70967742 9.07258065
+222.58064516 41.93548387 8.26612903
+222.58064516 45.16129032 7.50000000
+222.58064516 48.38709677 7.50000000
+222.58064516 51.61290323 7.50000000
+222.58064516 54.83870968 7.50000000
+222.58064516 58.06451613 6.73387097
+222.58064516 61.29032258 5.92741935
+222.58064516 64.51612903 5.12096774
+222.58064516 67.74193548 5.00000000
+222.58064516 70.96774194 5.00000000
+222.58064516 74.19354839 5.00000000
+222.58064516 77.41935484 5.00000000
+222.58064516 80.64516129 5.00000000
+222.58064516 83.87096774 5.00000000
+222.58064516 87.09677419 5.00000000
+222.58064516 90.32258065 5.00000000
+222.58064516 93.54838710 5.00000000
+222.58064516 96.77419355 5.00000000
+222.58064516 100.00000000 5.00000000
+232.25806452 0.00000000 10.00000000
+232.25806452 3.22580645 10.00000000
+232.25806452 6.45161290 10.00000000
+232.25806452 9.67741935 10.00000000
+232.25806452 12.90322581 10.00000000
+232.25806452 16.12903226 10.00000000
+232.25806452 19.35483871 10.00000000
+232.25806452 22.58064516 10.00000000
+232.25806452 25.80645161 10.00000000
+232.25806452 29.03225806 10.00000000
+232.25806452 32.25806452 10.00000000
+232.25806452 35.48387097 9.87903226
+232.25806452 38.70967742 9.07258065
+232.25806452 41.93548387 8.26612903
+232.25806452 45.16129032 7.50000000
+232.25806452 48.38709677 7.50000000
+232.25806452 51.61290323 7.50000000
+232.25806452 54.83870968 7.50000000
+232.25806452 58.06451613 6.73387097
+232.25806452 61.29032258 5.92741935
+232.25806452 64.51612903 5.12096774
+232.25806452 67.74193548 5.00000000
+232.25806452 70.96774194 5.00000000
+232.25806452 74.19354839 5.00000000
+232.25806452 77.41935484 5.00000000
+232.25806452 80.64516129 5.00000000
+232.25806452 83.87096774 5.00000000
+232.25806452 87.09677419 5.00000000
+232.25806452 90.32258065 5.00000000
+232.25806452 93.54838710 5.00000000
+232.25806452 96.77419355 5.00000000
+232.25806452 100.00000000 5.00000000
+241.93548387 0.00000000 10.00000000
+241.93548387 3.22580645 10.00000000
+241.93548387 6.45161290 10.00000000
+241.93548387 9.67741935 10.00000000
+241.93548387 12.90322581 10.00000000
+241.93548387 16.12903226 10.00000000
+241.93548387 19.35483871 10.00000000
+241.93548387 22.58064516 10.00000000
+241.93548387 25.80645161 10.00000000
+241.93548387 29.03225806 10.00000000
+241.93548387 32.25806452 10.00000000
+241.93548387 35.48387097 9.87903226
+241.93548387 38.70967742 9.07258065
+241.93548387 41.93548387 8.26612903
+241.93548387 45.16129032 7.50000000
+241.93548387 48.38709677 7.50000000
+241.93548387 51.61290323 7.50000000
+241.93548387 54.83870968 7.50000000
+241.93548387 58.06451613 6.73387097
+241.93548387 61.29032258 5.92741935
+241.93548387 64.51612903 5.12096774
+241.93548387 67.74193548 5.00000000
+241.93548387 70.96774194 5.00000000
+241.93548387 74.19354839 5.00000000
+241.93548387 77.41935484 5.00000000
+241.93548387 80.64516129 5.00000000
+241.93548387 83.87096774 5.00000000
+241.93548387 87.09677419 5.00000000
+241.93548387 90.32258065 5.00000000
+241.93548387 93.54838710 5.00000000
+241.93548387 96.77419355 5.00000000
+241.93548387 100.00000000 5.00000000
+251.61290323 0.00000000 10.00000000
+251.61290323 3.22580645 10.00000000
+251.61290323 6.45161290 10.00000000
+251.61290323 9.67741935 10.00000000
+251.61290323 12.90322581 10.00000000
+251.61290323 16.12903226 10.00000000
+251.61290323 19.35483871 10.00000000
+251.61290323 22.58064516 10.00000000
+251.61290323 25.80645161 10.00000000
+251.61290323 29.03225806 10.00000000
+251.61290323 32.25806452 10.00000000
+251.61290323 35.48387097 9.87903226
+251.61290323 38.70967742 9.07258065
+251.61290323 41.93548387 8.26612903
+251.61290323 45.16129032 7.50000000
+251.61290323 48.38709677 7.50000000
+251.61290323 51.61290323 7.50000000
+251.61290323 54.83870968 7.50000000
+251.61290323 58.06451613 6.73387097
+251.61290323 61.29032258 5.92741935
+251.61290323 64.51612903 5.12096774
+251.61290323 67.74193548 5.00000000
+251.61290323 70.96774194 5.00000000
+251.61290323 74.19354839 5.00000000
+251.61290323 77.41935484 5.00000000
+251.61290323 80.64516129 5.00000000
+251.61290323 83.87096774 5.00000000
+251.61290323 87.09677419 5.00000000
+251.61290323 90.32258065 5.00000000
+251.61290323 93.54838710 5.00000000
+251.61290323 96.77419355 5.00000000
+251.61290323 100.00000000 5.00000000
+261.29032258 0.00000000 10.00000000
+261.29032258 3.22580645 10.00000000
+261.29032258 6.45161290 10.00000000
+261.29032258 9.67741935 10.00000000
+261.29032258 12.90322581 10.00000000
+261.29032258 16.12903226 10.00000000
+261.29032258 19.35483871 10.00000000
+261.29032258 22.58064516 10.00000000
+261.29032258 25.80645161 10.00000000
+261.29032258 29.03225806 10.00000000
+261.29032258 32.25806452 10.00000000
+261.29032258 35.48387097 9.87903226
+261.29032258 38.70967742 9.07258065
+261.29032258 41.93548387 8.26612903
+261.29032258 45.16129032 7.50000000
+261.29032258 48.38709677 7.50000000
+261.29032258 51.61290323 7.50000000
+261.29032258 54.83870968 7.50000000
+261.29032258 58.06451613 6.73387097
+261.29032258 61.29032258 5.92741935
+261.29032258 64.51612903 5.12096774
+261.29032258 67.74193548 5.00000000
+261.29032258 70.96774194 5.00000000
+261.29032258 74.19354839 5.00000000
+261.29032258 77.41935484 5.00000000
+261.29032258 80.64516129 5.00000000
+261.29032258 83.87096774 5.00000000
+261.29032258 87.09677419 5.00000000
+261.29032258 90.32258065 5.00000000
+261.29032258 93.54838710 5.00000000
+261.29032258 96.77419355 5.00000000
+261.29032258 100.00000000 5.00000000
+270.96774194 0.00000000 10.00000000
+270.96774194 3.22580645 10.00000000
+270.96774194 6.45161290 10.00000000
+270.96774194 9.67741935 10.00000000
+270.96774194 12.90322581 10.00000000
+270.96774194 16.12903226 10.00000000
+270.96774194 19.35483871 10.00000000
+270.96774194 22.58064516 10.00000000
+270.96774194 25.80645161 10.00000000
+270.96774194 29.03225806 10.00000000
+270.96774194 32.25806452 10.00000000
+270.96774194 35.48387097 9.87903226
+270.96774194 38.70967742 9.07258065
+270.96774194 41.93548387 8.26612903
+270.96774194 45.16129032 7.50000000
+270.96774194 48.38709677 7.50000000
+270.96774194 51.61290323 7.50000000
+270.96774194 54.83870968 7.50000000
+270.96774194 58.06451613 6.73387097
+270.96774194 61.29032258 5.92741935
+270.96774194 64.51612903 5.12096774
+270.96774194 67.74193548 5.00000000
+270.96774194 70.96774194 5.00000000
+270.96774194 74.19354839 5.00000000
+270.96774194 77.41935484 5.00000000
+270.96774194 80.64516129 5.00000000
+270.96774194 83.87096774 5.00000000
+270.96774194 87.09677419 5.00000000
+270.96774194 90.32258065 5.00000000
+270.96774194 93.54838710 5.00000000
+270.96774194 96.77419355 5.00000000
+270.96774194 100.00000000 5.00000000
+280.64516129 0.00000000 10.00000000
+280.64516129 3.22580645 10.00000000
+280.64516129 6.45161290 10.00000000
+280.64516129 9.67741935 10.00000000
+280.64516129 12.90322581 10.00000000
+280.64516129 16.12903226 10.00000000
+280.64516129 19.35483871 10.00000000
+280.64516129 22.58064516 10.00000000
+280.64516129 25.80645161 10.00000000
+280.64516129 29.03225806 10.00000000
+280.64516129 32.25806452 10.00000000
+280.64516129 35.48387097 9.87903226
+280.64516129 38.70967742 9.07258065
+280.64516129 41.93548387 8.26612903
+280.64516129 45.16129032 7.50000000
+280.64516129 48.38709677 7.50000000
+280.64516129 51.61290323 7.50000000
+280.64516129 54.83870968 7.50000000
+280.64516129 58.06451613 6.73387097
+280.64516129 61.29032258 5.92741935
+280.64516129 64.51612903 5.12096774
+280.64516129 67.74193548 5.00000000
+280.64516129 70.96774194 5.00000000
+280.64516129 74.19354839 5.00000000
+280.64516129 77.41935484 5.00000000
+280.64516129 80.64516129 5.00000000
+280.64516129 83.87096774 5.00000000
+280.64516129 87.09677419 5.00000000
+280.64516129 90.32258065 5.00000000
+280.64516129 93.54838710 5.00000000
+280.64516129 96.77419355 5.00000000
+280.64516129 100.00000000 5.00000000
+290.32258065 0.00000000 10.00000000
+290.32258065 3.22580645 10.00000000
+290.32258065 6.45161290 10.00000000
+290.32258065 9.67741935 10.00000000
+290.32258065 12.90322581 10.00000000
+290.32258065 16.12903226 10.00000000
+290.32258065 19.35483871 10.00000000
+290.32258065 22.58064516 10.00000000
+290.32258065 25.80645161 10.00000000
+290.32258065 29.03225806 10.00000000
+290.32258065 32.25806452 10.00000000
+290.32258065 35.48387097 9.87903226
+290.32258065 38.70967742 9.07258065
+290.32258065 41.93548387 8.26612903
+290.32258065 45.16129032 7.50000000
+290.32258065 48.38709677 7.50000000
+290.32258065 51.61290323 7.50000000
+290.32258065 54.83870968 7.50000000
+290.32258065 58.06451613 6.73387097
+290.32258065 61.29032258 5.92741935
+290.32258065 64.51612903 5.12096774
+290.32258065 67.74193548 5.00000000
+290.32258065 70.96774194 5.00000000
+290.32258065 74.19354839 5.00000000
+290.32258065 77.41935484 5.00000000
+290.32258065 80.64516129 5.00000000
+290.32258065 83.87096774 5.00000000
+290.32258065 87.09677419 5.00000000
+290.32258065 90.32258065 5.00000000
+290.32258065 93.54838710 5.00000000
+290.32258065 96.77419355 5.00000000
+290.32258065 100.00000000 5.00000000
+300.00000000 0.00000000 10.00000000
+300.00000000 3.22580645 10.00000000
+300.00000000 6.45161290 10.00000000
+300.00000000 9.67741935 10.00000000
+300.00000000 12.90322581 10.00000000
+300.00000000 16.12903226 10.00000000
+300.00000000 19.35483871 10.00000000
+300.00000000 22.58064516 10.00000000
+300.00000000 25.80645161 10.00000000
+300.00000000 29.03225806 10.00000000
+300.00000000 32.25806452 10.00000000
+300.00000000 35.48387097 9.87903226
+300.00000000 38.70967742 9.07258065
+300.00000000 41.93548387 8.26612903
+300.00000000 45.16129032 7.50000000
+300.00000000 48.38709677 7.50000000
+300.00000000 51.61290323 7.50000000
+300.00000000 54.83870968 7.50000000
+300.00000000 58.06451613 6.73387097
+300.00000000 61.29032258 5.92741935
+300.00000000 64.51612903 5.12096774
+300.00000000 67.74193548 5.00000000
+300.00000000 70.96774194 5.00000000
+300.00000000 74.19354839 5.00000000
+300.00000000 77.41935484 5.00000000
+300.00000000 80.64516129 5.00000000
+300.00000000 83.87096774 5.00000000
+300.00000000 87.09677419 5.00000000
+300.00000000 90.32258065 5.00000000
+300.00000000 93.54838710 5.00000000
+300.00000000 96.77419355 5.00000000
+300.00000000 100.00000000 5.00000000
diff --git a/examples/takagi-sugeno/octave/heart_disease_risk.fll b/examples/takagi-sugeno/octave/heart_disease_risk.fll
new file mode 100644
index 0000000..5bc3207
--- /dev/null
+++ b/examples/takagi-sugeno/octave/heart_disease_risk.fll
@@ -0,0 +1,48 @@
+Engine: Heart-Disease-Risk
+InputVariable: LDLLevel
+ enabled: true
+ range: 0.000 300.000
+ term: Low Trapezoid -1.000 0.000 90.000 110.000
+ term: LowBorderline Trapezoid 90.000 110.000 120.000 140.000
+ term: Borderline Trapezoid 120.000 140.000 150.000 170.000
+ term: HighBorderline Trapezoid 150.000 170.000 180.000 200.000
+ term: High Trapezoid 180.000 200.000 300.000 301.000
+InputVariable: HDLLevel
+ enabled: true
+ range: 0.000 100.000
+ term: LowHDL Trapezoid -1.000 0.000 35.000 45.000
+ term: ModerateHDL Trapezoid 35.000 45.000 55.000 65.000
+ term: HighHDL Trapezoid 55.000 65.000 100.000 101.000
+OutputVariable: HeartDiseaseRisk
+ enabled: true
+ range: 0.000 10.000
+ accumulation: none
+ defuzzifier: WeightedAverage TakagiSugeno
+ default: nan
+ lock-previous: false
+ lock-range: false
+ term: NoRisk Constant 0.000
+ term: LowRisk Constant 2.500
+ term: MediumRisk Constant 5.000
+ term: HighRisk Constant 7.500
+ term: ExtremeRisk Constant 10.000
+RuleBlock:
+ enabled: true
+ conjunction: Minimum
+ disjunction: none
+ activation: none
+ rule: if LDLLevel is Low and HDLLevel is LowHDL then HeartDiseaseRisk is MediumRisk
+ rule: if LDLLevel is Low and HDLLevel is ModerateHDL then HeartDiseaseRisk is LowRisk
+ rule: if LDLLevel is Low and HDLLevel is HighHDL then HeartDiseaseRisk is NoRisk
+ rule: if LDLLevel is LowBorderline and HDLLevel is LowHDL then HeartDiseaseRisk is MediumRisk
+ rule: if LDLLevel is LowBorderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is LowRisk
+ rule: if LDLLevel is LowBorderline and HDLLevel is HighHDL then HeartDiseaseRisk is LowRisk
+ rule: if LDLLevel is Borderline and HDLLevel is LowHDL then HeartDiseaseRisk is HighRisk
+ rule: if LDLLevel is Borderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is MediumRisk
+ rule: if LDLLevel is Borderline and HDLLevel is HighHDL then HeartDiseaseRisk is LowRisk
+ rule: if LDLLevel is HighBorderline and HDLLevel is LowHDL then HeartDiseaseRisk is HighRisk
+ rule: if LDLLevel is HighBorderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is HighRisk
+ rule: if LDLLevel is HighBorderline and HDLLevel is HighHDL then HeartDiseaseRisk is MediumRisk
+ rule: if LDLLevel is High and HDLLevel is LowHDL then HeartDiseaseRisk is ExtremeRisk
+ rule: if LDLLevel is High and HDLLevel is ModerateHDL then HeartDiseaseRisk is HighRisk
+ rule: if LDLLevel is High and HDLLevel is HighHDL then HeartDiseaseRisk is MediumRisk \ No newline at end of file
diff --git a/examples/takagi-sugeno/octave/heart_disease_risk.java b/examples/takagi-sugeno/octave/heart_disease_risk.java
new file mode 100644
index 0000000..fcd67c9
--- /dev/null
+++ b/examples/takagi-sugeno/octave/heart_disease_risk.java
@@ -0,0 +1,79 @@
+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 heart_disease_risk{
+public static void main(String[] args){
+Engine engine = new Engine();
+engine.setName("Heart-Disease-Risk");
+
+InputVariable inputVariable1 = new InputVariable();
+inputVariable1.setEnabled(true);
+inputVariable1.setName("LDLLevel");
+inputVariable1.setRange(0.000, 300.000);
+inputVariable1.addTerm(new Trapezoid("Low", -1.000, 0.000, 90.000, 110.000));
+inputVariable1.addTerm(new Trapezoid("LowBorderline", 90.000, 110.000, 120.000, 140.000));
+inputVariable1.addTerm(new Trapezoid("Borderline", 120.000, 140.000, 150.000, 170.000));
+inputVariable1.addTerm(new Trapezoid("HighBorderline", 150.000, 170.000, 180.000, 200.000));
+inputVariable1.addTerm(new Trapezoid("High", 180.000, 200.000, 300.000, 301.000));
+engine.addInputVariable(inputVariable1);
+
+InputVariable inputVariable2 = new InputVariable();
+inputVariable2.setEnabled(true);
+inputVariable2.setName("HDLLevel");
+inputVariable2.setRange(0.000, 100.000);
+inputVariable2.addTerm(new Trapezoid("LowHDL", -1.000, 0.000, 35.000, 45.000));
+inputVariable2.addTerm(new Trapezoid("ModerateHDL", 35.000, 45.000, 55.000, 65.000));
+inputVariable2.addTerm(new Trapezoid("HighHDL", 55.000, 65.000, 100.000, 101.000));
+engine.addInputVariable(inputVariable2);
+
+OutputVariable outputVariable = new OutputVariable();
+outputVariable.setEnabled(true);
+outputVariable.setName("HeartDiseaseRisk");
+outputVariable.setRange(0.000, 10.000);
+outputVariable.fuzzyOutput().setAccumulation(null);
+outputVariable.setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable.setDefaultValue(Double.NaN);
+outputVariable.setLockPreviousOutputValue(false);
+outputVariable.setLockOutputValueInRange(false);
+outputVariable.addTerm(new Constant("NoRisk", 0.000));
+outputVariable.addTerm(new Constant("LowRisk", 2.500));
+outputVariable.addTerm(new Constant("MediumRisk", 5.000));
+outputVariable.addTerm(new Constant("HighRisk", 7.500));
+outputVariable.addTerm(new Constant("ExtremeRisk", 10.000));
+engine.addOutputVariable(outputVariable);
+
+RuleBlock ruleBlock = new RuleBlock();
+ruleBlock.setEnabled(true);
+ruleBlock.setName("");
+ruleBlock.setConjunction(new Minimum());
+ruleBlock.setDisjunction(null);
+ruleBlock.setActivation(null);
+ruleBlock.addRule(Rule.parse("if LDLLevel is Low and HDLLevel is LowHDL then HeartDiseaseRisk is MediumRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is Low and HDLLevel is ModerateHDL then HeartDiseaseRisk is LowRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is Low and HDLLevel is HighHDL then HeartDiseaseRisk is NoRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is LowBorderline and HDLLevel is LowHDL then HeartDiseaseRisk is MediumRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is LowBorderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is LowRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is LowBorderline and HDLLevel is HighHDL then HeartDiseaseRisk is LowRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is Borderline and HDLLevel is LowHDL then HeartDiseaseRisk is HighRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is Borderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is MediumRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is Borderline and HDLLevel is HighHDL then HeartDiseaseRisk is LowRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is HighBorderline and HDLLevel is LowHDL then HeartDiseaseRisk is HighRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is HighBorderline and HDLLevel is ModerateHDL then HeartDiseaseRisk is HighRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is HighBorderline and HDLLevel is HighHDL then HeartDiseaseRisk is MediumRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is High and HDLLevel is LowHDL then HeartDiseaseRisk is ExtremeRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is High and HDLLevel is ModerateHDL then HeartDiseaseRisk is HighRisk", engine));
+ruleBlock.addRule(Rule.parse("if LDLLevel is High and HDLLevel is HighHDL then HeartDiseaseRisk is MediumRisk", engine));
+engine.addRuleBlock(ruleBlock);
+
+
+}
+}
diff --git a/examples/takagi-sugeno/octave/linear_tip_calculator.cpp b/examples/takagi-sugeno/octave/linear_tip_calculator.cpp
new file mode 100644
index 0000000..6982766
--- /dev/null
+++ b/examples/takagi-sugeno/octave/linear_tip_calculator.cpp
@@ -0,0 +1,52 @@
+#include <fl/Headers.h>
+
+int main(int argc, char** argv){
+using namespace fl;
+
+Engine* engine = new Engine;
+engine->setName("Linear-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* outputVariable = new OutputVariable;
+outputVariable->setEnabled(true);
+outputVariable->setName("Tip");
+outputVariable->setRange(10.000, 20.000);
+outputVariable->fuzzyOutput()->setAccumulation(fl::null);
+outputVariable->setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable->setDefaultValue(fl::nan);
+outputVariable->setLockPreviousOutputValue(false);
+outputVariable->setLockOutputValueInRange(false);
+outputVariable->addTerm(Linear::create("TenPercent", engine, 0.000, 0.000, 10.000));
+outputVariable->addTerm(Linear::create("FifteenPercent", engine, 0.000, 0.000, 15.000));
+outputVariable->addTerm(Linear::create("TwentyPercent", engine, 0.000, 0.000, 20.000));
+engine->addOutputVariable(outputVariable);
+
+RuleBlock* ruleBlock = new RuleBlock;
+ruleBlock->setEnabled(true);
+ruleBlock->setName("");
+ruleBlock->setConjunction(new Minimum);
+ruleBlock->setDisjunction(fl::null);
+ruleBlock->setActivation(fl::null);
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Bad and Service is Bad then Tip is TenPercent", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Bad and Service is Good then Tip is FifteenPercent", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Good and Service is Bad then Tip is FifteenPercent", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Good and Service is Good then Tip is TwentyPercent", engine));
+engine->addRuleBlock(ruleBlock);
+
+
+}
diff --git a/examples/takagi-sugeno/octave/linear_tip_calculator.fcl b/examples/takagi-sugeno/octave/linear_tip_calculator.fcl
new file mode 100644
index 0000000..d326b2e
--- /dev/null
+++ b/examples/takagi-sugeno/octave/linear_tip_calculator.fcl
@@ -0,0 +1,41 @@
+FUNCTION_BLOCK Linear-Tip-Calculator
+
+VAR_INPUT
+ FoodQuality: REAL;
+ Service: REAL;
+END_VAR
+
+VAR_OUTPUT
+ Tip: 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 := (10.000 .. 20.000);
+ TERM TenPercent := Linear 0.000 0.000 10.000;
+ TERM FifteenPercent := Linear 0.000 0.000 15.000;
+ TERM TwentyPercent := Linear 0.000 0.000 20.000;
+ METHOD : COGS;
+ DEFAULT := nan;
+END_DEFUZZIFY
+
+RULEBLOCK
+ AND : MIN;
+ RULE 1 : if FoodQuality is Bad and Service is Bad then Tip is TenPercent
+ RULE 2 : if FoodQuality is Bad and Service is Good then Tip is FifteenPercent
+ RULE 3 : if FoodQuality is Good and Service is Bad then Tip is FifteenPercent
+ RULE 4 : if FoodQuality is Good and Service is Good then Tip is TwentyPercent
+END_RULEBLOCK
+
+END_FUNCTION_BLOCK
diff --git a/examples/takagi-sugeno/octave/linear_tip_calculator.fis b/examples/takagi-sugeno/octave/linear_tip_calculator.fis
new file mode 100644
index 0000000..8df5a02
--- /dev/null
+++ b/examples/takagi-sugeno/octave/linear_tip_calculator.fis
@@ -0,0 +1,39 @@
+[System]
+Name='Linear-Tip-Calculator'
+Type='sugeno'
+NumInputs=2
+NumOutputs=1
+NumRules=4
+AndMethod='min'
+OrMethod=''
+ImpMethod=''
+AggMethod=''
+DefuzzMethod='wtaver'
+
+[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=[10.000 20.000]
+NumMFs=3
+MF1='TenPercent':'linear',[0.000 0.000 10.000]
+MF2='FifteenPercent':'linear',[0.000 0.000 15.000]
+MF3='TwentyPercent':'linear',[0.000 0.000 20.000]
+
+[Rules]
+1.000 1.000 , 1.000 (1.000) : 1
+1.000 2.000 , 2.000 (1.000) : 1
+2.000 1.000 , 2.000 (1.000) : 1
+2.000 2.000 , 3.000 (1.000) : 1
diff --git a/examples/takagi-sugeno/octave/linear_tip_calculator.fld b/examples/takagi-sugeno/octave/linear_tip_calculator.fld
new file mode 100644
index 0000000..27f51b4
--- /dev/null
+++ b/examples/takagi-sugeno/octave/linear_tip_calculator.fld
@@ -0,0 +1,1026 @@
+#@Engine: Linear-Tip-Calculator;
+#@InputVariable: FoodQuality; @InputVariable: Service; @OutputVariable: Tip;
+1.00000000 1.00000000 10.00000000
+1.00000000 1.29032258 10.00000000
+1.00000000 1.58064516 10.00000000
+1.00000000 1.87096774 10.00000000
+1.00000000 2.16129032 10.00000000
+1.00000000 2.45161290 10.00000000
+1.00000000 2.74193548 10.00000000
+1.00000000 3.03225806 10.04032258
+1.00000000 3.32258065 10.40322581
+1.00000000 3.61290323 10.76612903
+1.00000000 3.90322581 11.12903226
+1.00000000 4.19354839 11.49193548
+1.00000000 4.48387097 11.85483871
+1.00000000 4.77419355 12.21774194
+1.00000000 5.06451613 12.58064516
+1.00000000 5.35483871 12.94354839
+1.00000000 5.64516129 13.30645161
+1.00000000 5.93548387 13.66935484
+1.00000000 6.22580645 14.03225806
+1.00000000 6.51612903 14.39516129
+1.00000000 6.80645161 14.75806452
+1.00000000 7.09677419 15.00000000
+1.00000000 7.38709677 15.00000000
+1.00000000 7.67741935 15.00000000
+1.00000000 7.96774194 15.00000000
+1.00000000 8.25806452 15.00000000
+1.00000000 8.54838710 15.00000000
+1.00000000 8.83870968 15.00000000
+1.00000000 9.12903226 15.00000000
+1.00000000 9.41935484 15.00000000
+1.00000000 9.70967742 15.00000000
+1.00000000 10.00000000 15.00000000
+1.29032258 1.00000000 10.00000000
+1.29032258 1.29032258 10.00000000
+1.29032258 1.58064516 10.00000000
+1.29032258 1.87096774 10.00000000
+1.29032258 2.16129032 10.00000000
+1.29032258 2.45161290 10.00000000
+1.29032258 2.74193548 10.00000000
+1.29032258 3.03225806 10.04032258
+1.29032258 3.32258065 10.40322581
+1.29032258 3.61290323 10.76612903
+1.29032258 3.90322581 11.12903226
+1.29032258 4.19354839 11.49193548
+1.29032258 4.48387097 11.85483871
+1.29032258 4.77419355 12.21774194
+1.29032258 5.06451613 12.58064516
+1.29032258 5.35483871 12.94354839
+1.29032258 5.64516129 13.30645161
+1.29032258 5.93548387 13.66935484
+1.29032258 6.22580645 14.03225806
+1.29032258 6.51612903 14.39516129
+1.29032258 6.80645161 14.75806452
+1.29032258 7.09677419 15.00000000
+1.29032258 7.38709677 15.00000000
+1.29032258 7.67741935 15.00000000
+1.29032258 7.96774194 15.00000000
+1.29032258 8.25806452 15.00000000
+1.29032258 8.54838710 15.00000000
+1.29032258 8.83870968 15.00000000
+1.29032258 9.12903226 15.00000000
+1.29032258 9.41935484 15.00000000
+1.29032258 9.70967742 15.00000000
+1.29032258 10.00000000 15.00000000
+1.58064516 1.00000000 10.00000000
+1.58064516 1.29032258 10.00000000
+1.58064516 1.58064516 10.00000000
+1.58064516 1.87096774 10.00000000
+1.58064516 2.16129032 10.00000000
+1.58064516 2.45161290 10.00000000
+1.58064516 2.74193548 10.00000000
+1.58064516 3.03225806 10.04032258
+1.58064516 3.32258065 10.40322581
+1.58064516 3.61290323 10.76612903
+1.58064516 3.90322581 11.12903226
+1.58064516 4.19354839 11.49193548
+1.58064516 4.48387097 11.85483871
+1.58064516 4.77419355 12.21774194
+1.58064516 5.06451613 12.58064516
+1.58064516 5.35483871 12.94354839
+1.58064516 5.64516129 13.30645161
+1.58064516 5.93548387 13.66935484
+1.58064516 6.22580645 14.03225806
+1.58064516 6.51612903 14.39516129
+1.58064516 6.80645161 14.75806452
+1.58064516 7.09677419 15.00000000
+1.58064516 7.38709677 15.00000000
+1.58064516 7.67741935 15.00000000
+1.58064516 7.96774194 15.00000000
+1.58064516 8.25806452 15.00000000
+1.58064516 8.54838710 15.00000000
+1.58064516 8.83870968 15.00000000
+1.58064516 9.12903226 15.00000000
+1.58064516 9.41935484 15.00000000
+1.58064516 9.70967742 15.00000000
+1.58064516 10.00000000 15.00000000
+1.87096774 1.00000000 10.00000000
+1.87096774 1.29032258 10.00000000
+1.87096774 1.58064516 10.00000000
+1.87096774 1.87096774 10.00000000
+1.87096774 2.16129032 10.00000000
+1.87096774 2.45161290 10.00000000
+1.87096774 2.74193548 10.00000000
+1.87096774 3.03225806 10.04032258
+1.87096774 3.32258065 10.40322581
+1.87096774 3.61290323 10.76612903
+1.87096774 3.90322581 11.12903226
+1.87096774 4.19354839 11.49193548
+1.87096774 4.48387097 11.85483871
+1.87096774 4.77419355 12.21774194
+1.87096774 5.06451613 12.58064516
+1.87096774 5.35483871 12.94354839
+1.87096774 5.64516129 13.30645161
+1.87096774 5.93548387 13.66935484
+1.87096774 6.22580645 14.03225806
+1.87096774 6.51612903 14.39516129
+1.87096774 6.80645161 14.75806452
+1.87096774 7.09677419 15.00000000
+1.87096774 7.38709677 15.00000000
+1.87096774 7.67741935 15.00000000
+1.87096774 7.96774194 15.00000000
+1.87096774 8.25806452 15.00000000
+1.87096774 8.54838710 15.00000000
+1.87096774 8.83870968 15.00000000
+1.87096774 9.12903226 15.00000000
+1.87096774 9.41935484 15.00000000
+1.87096774 9.70967742 15.00000000
+1.87096774 10.00000000 15.00000000
+2.16129032 1.00000000 10.00000000
+2.16129032 1.29032258 10.00000000
+2.16129032 1.58064516 10.00000000
+2.16129032 1.87096774 10.00000000
+2.16129032 2.16129032 10.00000000
+2.16129032 2.45161290 10.00000000
+2.16129032 2.74193548 10.00000000
+2.16129032 3.03225806 10.04032258
+2.16129032 3.32258065 10.40322581
+2.16129032 3.61290323 10.76612903
+2.16129032 3.90322581 11.12903226
+2.16129032 4.19354839 11.49193548
+2.16129032 4.48387097 11.85483871
+2.16129032 4.77419355 12.21774194
+2.16129032 5.06451613 12.58064516
+2.16129032 5.35483871 12.94354839
+2.16129032 5.64516129 13.30645161
+2.16129032 5.93548387 13.66935484
+2.16129032 6.22580645 14.03225806
+2.16129032 6.51612903 14.39516129
+2.16129032 6.80645161 14.75806452
+2.16129032 7.09677419 15.00000000
+2.16129032 7.38709677 15.00000000
+2.16129032 7.67741935 15.00000000
+2.16129032 7.96774194 15.00000000
+2.16129032 8.25806452 15.00000000
+2.16129032 8.54838710 15.00000000
+2.16129032 8.83870968 15.00000000
+2.16129032 9.12903226 15.00000000
+2.16129032 9.41935484 15.00000000
+2.16129032 9.70967742 15.00000000
+2.16129032 10.00000000 15.00000000
+2.45161290 1.00000000 10.00000000
+2.45161290 1.29032258 10.00000000
+2.45161290 1.58064516 10.00000000
+2.45161290 1.87096774 10.00000000
+2.45161290 2.16129032 10.00000000
+2.45161290 2.45161290 10.00000000
+2.45161290 2.74193548 10.00000000
+2.45161290 3.03225806 10.04032258
+2.45161290 3.32258065 10.40322581
+2.45161290 3.61290323 10.76612903
+2.45161290 3.90322581 11.12903226
+2.45161290 4.19354839 11.49193548
+2.45161290 4.48387097 11.85483871
+2.45161290 4.77419355 12.21774194
+2.45161290 5.06451613 12.58064516
+2.45161290 5.35483871 12.94354839
+2.45161290 5.64516129 13.30645161
+2.45161290 5.93548387 13.66935484
+2.45161290 6.22580645 14.03225806
+2.45161290 6.51612903 14.39516129
+2.45161290 6.80645161 14.75806452
+2.45161290 7.09677419 15.00000000
+2.45161290 7.38709677 15.00000000
+2.45161290 7.67741935 15.00000000
+2.45161290 7.96774194 15.00000000
+2.45161290 8.25806452 15.00000000
+2.45161290 8.54838710 15.00000000
+2.45161290 8.83870968 15.00000000
+2.45161290 9.12903226 15.00000000
+2.45161290 9.41935484 15.00000000
+2.45161290 9.70967742 15.00000000
+2.45161290 10.00000000 15.00000000
+2.74193548 1.00000000 10.00000000
+2.74193548 1.29032258 10.00000000
+2.74193548 1.58064516 10.00000000
+2.74193548 1.87096774 10.00000000
+2.74193548 2.16129032 10.00000000
+2.74193548 2.45161290 10.00000000
+2.74193548 2.74193548 10.00000000
+2.74193548 3.03225806 10.04032258
+2.74193548 3.32258065 10.40322581
+2.74193548 3.61290323 10.76612903
+2.74193548 3.90322581 11.12903226
+2.74193548 4.19354839 11.49193548
+2.74193548 4.48387097 11.85483871
+2.74193548 4.77419355 12.21774194
+2.74193548 5.06451613 12.58064516
+2.74193548 5.35483871 12.94354839
+2.74193548 5.64516129 13.30645161
+2.74193548 5.93548387 13.66935484
+2.74193548 6.22580645 14.03225806
+2.74193548 6.51612903 14.39516129
+2.74193548 6.80645161 14.75806452
+2.74193548 7.09677419 15.00000000
+2.74193548 7.38709677 15.00000000
+2.74193548 7.67741935 15.00000000
+2.74193548 7.96774194 15.00000000
+2.74193548 8.25806452 15.00000000
+2.74193548 8.54838710 15.00000000
+2.74193548 8.83870968 15.00000000
+2.74193548 9.12903226 15.00000000
+2.74193548 9.41935484 15.00000000
+2.74193548 9.70967742 15.00000000
+2.74193548 10.00000000 15.00000000
+3.03225806 1.00000000 10.04032258
+3.03225806 1.29032258 10.04032258
+3.03225806 1.58064516 10.04032258
+3.03225806 1.87096774 10.04032258
+3.03225806 2.16129032 10.04032258
+3.03225806 2.45161290 10.04032258
+3.03225806 2.74193548 10.04032258
+3.03225806 3.03225806 10.15873016
+3.03225806 3.32258065 10.51587302
+3.03225806 3.61290323 10.87301587
+3.03225806 3.90322581 11.23015873
+3.03225806 4.19354839 11.58730159
+3.03225806 4.48387097 11.94444444
+3.03225806 4.77419355 12.30158730
+3.03225806 5.06451613 12.65873016
+3.03225806 5.35483871 13.01587302
+3.03225806 5.64516129 13.37301587
+3.03225806 5.93548387 13.73015873
+3.03225806 6.22580645 14.08730159
+3.03225806 6.51612903 14.44444444
+3.03225806 6.80645161 14.80158730
+3.03225806 7.09677419 15.04032258
+3.03225806 7.38709677 15.04032258
+3.03225806 7.67741935 15.04032258
+3.03225806 7.96774194 15.04032258
+3.03225806 8.25806452 15.04032258
+3.03225806 8.54838710 15.04032258
+3.03225806 8.83870968 15.04032258
+3.03225806 9.12903226 15.04032258
+3.03225806 9.41935484 15.04032258
+3.03225806 9.70967742 15.04032258
+3.03225806 10.00000000 15.04032258
+3.32258065 1.00000000 10.40322581
+3.32258065 1.29032258 10.40322581
+3.32258065 1.58064516 10.40322581
+3.32258065 1.87096774 10.40322581
+3.32258065 2.16129032 10.40322581
+3.32258065 2.45161290 10.40322581
+3.32258065 2.74193548 10.40322581
+3.32258065 3.03225806 10.51587302
+3.32258065 3.32258065 11.38888889
+3.32258065 3.61290323 11.70138889
+3.32258065 3.90322581 12.01388889
+3.32258065 4.19354839 12.32638889
+3.32258065 4.48387097 12.63888889
+3.32258065 4.77419355 12.95138889
+3.32258065 5.06451613 13.26388889
+3.32258065 5.35483871 13.57638889
+3.32258065 5.64516129 13.88888889
+3.32258065 5.93548387 14.20138889
+3.32258065 6.22580645 14.51388889
+3.32258065 6.51612903 14.82638889
+3.32258065 6.80645161 15.14705882
+3.32258065 7.09677419 15.40322581
+3.32258065 7.38709677 15.40322581
+3.32258065 7.67741935 15.40322581
+3.32258065 7.96774194 15.40322581
+3.32258065 8.25806452 15.40322581
+3.32258065 8.54838710 15.40322581
+3.32258065 8.83870968 15.40322581
+3.32258065 9.12903226 15.40322581
+3.32258065 9.41935484 15.40322581
+3.32258065 9.70967742 15.40322581
+3.32258065 10.00000000 15.40322581
+3.61290323 1.00000000 10.76612903
+3.61290323 1.29032258 10.76612903
+3.61290323 1.58064516 10.76612903
+3.61290323 1.87096774 10.76612903
+3.61290323 2.16129032 10.76612903
+3.61290323 2.45161290 10.76612903
+3.61290323 2.74193548 10.76612903
+3.61290323 3.03225806 10.87301587
+3.61290323 3.32258065 11.70138889
+3.61290323 3.61290323 12.34567901
+3.61290323 3.90322581 12.62345679
+3.61290323 4.19354839 12.90123457
+3.61290323 4.48387097 13.17901235
+3.61290323 4.77419355 13.45679012
+3.61290323 5.06451613 13.73456790
+3.61290323 5.35483871 14.01234568
+3.61290323 5.64516129 14.29012346
+3.61290323 5.93548387 14.56790123
+3.61290323 6.22580645 14.84567901
+3.61290323 6.51612903 15.12987013
+3.61290323 6.80645161 15.47794118
+3.61290323 7.09677419 15.76612903
+3.61290323 7.38709677 15.76612903
+3.61290323 7.67741935 15.76612903
+3.61290323 7.96774194 15.76612903
+3.61290323 8.25806452 15.76612903
+3.61290323 8.54838710 15.76612903
+3.61290323 8.83870968 15.76612903
+3.61290323 9.12903226 15.76612903
+3.61290323 9.41935484 15.76612903
+3.61290323 9.70967742 15.76612903
+3.61290323 10.00000000 15.76612903
+3.90322581 1.00000000 11.12903226
+3.90322581 1.29032258 11.12903226
+3.90322581 1.58064516 11.12903226
+3.90322581 1.87096774 11.12903226
+3.90322581 2.16129032 11.12903226
+3.90322581 2.45161290 11.12903226
+3.90322581 2.74193548 11.12903226
+3.90322581 3.03225806 11.23015873
+3.90322581 3.32258065 12.01388889
+3.90322581 3.61290323 12.62345679
+3.90322581 3.90322581 13.11111111
+3.90322581 4.19354839 13.36111111
+3.90322581 4.48387097 13.61111111
+3.90322581 4.77419355 13.86111111
+3.90322581 5.06451613 14.11111111
+3.90322581 5.35483871 14.36111111
+3.90322581 5.64516129 14.61111111
+3.90322581 5.93548387 14.86111111
+3.90322581 6.22580645 15.11627907
+3.90322581 6.51612903 15.42207792
+3.90322581 6.80645161 15.80882353
+3.90322581 7.09677419 16.12903226
+3.90322581 7.38709677 16.12903226
+3.90322581 7.67741935 16.12903226
+3.90322581 7.96774194 16.12903226
+3.90322581 8.25806452 16.12903226
+3.90322581 8.54838710 16.12903226
+3.90322581 8.83870968 16.12903226
+3.90322581 9.12903226 16.12903226
+3.90322581 9.41935484 16.12903226
+3.90322581 9.70967742 16.12903226
+3.90322581 10.00000000 16.12903226
+4.19354839 1.00000000 11.49193548
+4.19354839 1.29032258 11.49193548
+4.19354839 1.58064516 11.49193548
+4.19354839 1.87096774 11.49193548
+4.19354839 2.16129032 11.49193548
+4.19354839 2.45161290 11.49193548
+4.19354839 2.74193548 11.49193548
+4.19354839 3.03225806 11.58730159
+4.19354839 3.32258065 12.32638889
+4.19354839 3.61290323 12.90123457
+4.19354839 3.90322581 13.36111111
+4.19354839 4.19354839 13.73737374
+4.19354839 4.48387097 13.96464646
+4.19354839 4.77419355 14.19191919
+4.19354839 5.06451613 14.41919192
+4.19354839 5.35483871 14.64646465
+4.19354839 5.64516129 14.87373737
+4.19354839 5.93548387 15.10526316
+4.19354839 6.22580645 15.37790698
+4.19354839 6.51612903 15.71428571
+4.19354839 6.80645161 16.13970588
+4.19354839 7.09677419 16.49193548
+4.19354839 7.38709677 16.49193548
+4.19354839 7.67741935 16.49193548
+4.19354839 7.96774194 16.49193548
+4.19354839 8.25806452 16.49193548
+4.19354839 8.54838710 16.49193548
+4.19354839 8.83870968 16.49193548
+4.19354839 9.12903226 16.49193548
+4.19354839 9.41935484 16.49193548
+4.19354839 9.70967742 16.49193548
+4.19354839 10.00000000 16.49193548
+4.48387097 1.00000000 11.85483871
+4.48387097 1.29032258 11.85483871
+4.48387097 1.58064516 11.85483871
+4.48387097 1.87096774 11.85483871
+4.48387097 2.16129032 11.85483871
+4.48387097 2.45161290 11.85483871
+4.48387097 2.74193548 11.85483871
+4.48387097 3.03225806 11.94444444
+4.48387097 3.32258065 12.63888889
+4.48387097 3.61290323 13.17901235
+4.48387097 3.90322581 13.61111111
+4.48387097 4.19354839 13.96464646
+4.48387097 4.48387097 14.25925926
+4.48387097 4.77419355 14.46759259
+4.48387097 5.06451613 14.67592593
+4.48387097 5.35483871 14.88425926
+4.48387097 5.64516129 15.09615385
+4.48387097 5.93548387 15.34210526
+4.48387097 6.22580645 15.63953488
+4.48387097 6.51612903 16.00649351
+4.48387097 6.80645161 16.47058824
+4.48387097 7.09677419 16.85483871
+4.48387097 7.38709677 16.85483871
+4.48387097 7.67741935 16.85483871
+4.48387097 7.96774194 16.85483871
+4.48387097 8.25806452 16.85483871
+4.48387097 8.54838710 16.85483871
+4.48387097 8.83870968 16.85483871
+4.48387097 9.12903226 16.85483871
+4.48387097 9.41935484 16.85483871
+4.48387097 9.70967742 16.85483871
+4.48387097 10.00000000 16.85483871
+4.77419355 1.00000000 12.21774194
+4.77419355 1.29032258 12.21774194
+4.77419355 1.58064516 12.21774194
+4.77419355 1.87096774 12.21774194
+4.77419355 2.16129032 12.21774194
+4.77419355 2.45161290 12.21774194
+4.77419355 2.74193548 12.21774194
+4.77419355 3.03225806 12.30158730
+4.77419355 3.32258065 12.95138889
+4.77419355 3.61290323 13.45679012
+4.77419355 3.90322581 13.86111111
+4.77419355 4.19354839 14.19191919
+4.77419355 4.48387097 14.46759259
+4.77419355 4.77419355 14.70085470
+4.77419355 5.06451613 14.89316239
+4.77419355 5.35483871 15.08849558
+4.77419355 5.64516129 15.31250000
+4.77419355 5.93548387 15.57894737
+4.77419355 6.22580645 15.90116279
+4.77419355 6.51612903 16.29870130
+4.77419355 6.80645161 16.80147059
+4.77419355 7.09677419 17.21774194
+4.77419355 7.38709677 17.21774194
+4.77419355 7.67741935 17.21774194
+4.77419355 7.96774194 17.21774194
+4.77419355 8.25806452 17.21774194
+4.77419355 8.54838710 17.21774194
+4.77419355 8.83870968 17.21774194
+4.77419355 9.12903226 17.21774194
+4.77419355 9.41935484 17.21774194
+4.77419355 9.70967742 17.21774194
+4.77419355 10.00000000 17.21774194
+5.06451613 1.00000000 12.58064516
+5.06451613 1.29032258 12.58064516
+5.06451613 1.58064516 12.58064516
+5.06451613 1.87096774 12.58064516
+5.06451613 2.16129032 12.58064516
+5.06451613 2.45161290 12.58064516
+5.06451613 2.74193548 12.58064516
+5.06451613 3.03225806 12.65873016
+5.06451613 3.32258065 13.26388889
+5.06451613 3.61290323 13.73456790
+5.06451613 3.90322581 14.11111111
+5.06451613 4.19354839 14.41919192
+5.06451613 4.48387097 14.67592593
+5.06451613 4.77419355 14.89316239
+5.06451613 5.06451613 15.08196721
+5.06451613 5.35483871 15.28761062
+5.06451613 5.64516129 15.52884615
+5.06451613 5.93548387 15.81578947
+5.06451613 6.22580645 16.16279070
+5.06451613 6.51612903 16.59090909
+5.06451613 6.80645161 17.13235294
+5.06451613 7.09677419 17.58064516
+5.06451613 7.38709677 17.58064516
+5.06451613 7.67741935 17.58064516
+5.06451613 7.96774194 17.58064516
+5.06451613 8.25806452 17.58064516
+5.06451613 8.54838710 17.58064516
+5.06451613 8.83870968 17.58064516
+5.06451613 9.12903226 17.58064516
+5.06451613 9.41935484 17.58064516
+5.06451613 9.70967742 17.58064516
+5.06451613 10.00000000 17.58064516
+5.35483871 1.00000000 12.94354839
+5.35483871 1.29032258 12.94354839
+5.35483871 1.58064516 12.94354839
+5.35483871 1.87096774 12.94354839
+5.35483871 2.16129032 12.94354839
+5.35483871 2.45161290 12.94354839
+5.35483871 2.74193548 12.94354839
+5.35483871 3.03225806 13.01587302
+5.35483871 3.32258065 13.57638889
+5.35483871 3.61290323 14.01234568
+5.35483871 3.90322581 14.36111111
+5.35483871 4.19354839 14.64646465
+5.35483871 4.48387097 14.88425926
+5.35483871 4.77419355 15.08849558
+5.35483871 5.06451613 15.28761062
+5.35483871 5.35483871 15.48672566
+5.35483871 5.64516129 15.74519231
+5.35483871 5.93548387 16.05263158
+5.35483871 6.22580645 16.42441860
+5.35483871 6.51612903 16.88311688
+5.35483871 6.80645161 17.46323529
+5.35483871 7.09677419 17.94354839
+5.35483871 7.38709677 17.94354839
+5.35483871 7.67741935 17.94354839
+5.35483871 7.96774194 17.94354839
+5.35483871 8.25806452 17.94354839
+5.35483871 8.54838710 17.94354839
+5.35483871 8.83870968 17.94354839
+5.35483871 9.12903226 17.94354839
+5.35483871 9.41935484 17.94354839
+5.35483871 9.70967742 17.94354839
+5.35483871 10.00000000 17.94354839
+5.64516129 1.00000000 13.30645161
+5.64516129 1.29032258 13.30645161
+5.64516129 1.58064516 13.30645161
+5.64516129 1.87096774 13.30645161
+5.64516129 2.16129032 13.30645161
+5.64516129 2.45161290 13.30645161
+5.64516129 2.74193548 13.30645161
+5.64516129 3.03225806 13.37301587
+5.64516129 3.32258065 13.88888889
+5.64516129 3.61290323 14.29012346
+5.64516129 3.90322581 14.61111111
+5.64516129 4.19354839 14.87373737
+5.64516129 4.48387097 15.09615385
+5.64516129 4.77419355 15.31250000
+5.64516129 5.06451613 15.52884615
+5.64516129 5.35483871 15.74519231
+5.64516129 5.64516129 15.96153846
+5.64516129 5.93548387 16.28947368
+5.64516129 6.22580645 16.68604651
+5.64516129 6.51612903 17.17532468
+5.64516129 6.80645161 17.79411765
+5.64516129 7.09677419 18.30645161
+5.64516129 7.38709677 18.30645161
+5.64516129 7.67741935 18.30645161
+5.64516129 7.96774194 18.30645161
+5.64516129 8.25806452 18.30645161
+5.64516129 8.54838710 18.30645161
+5.64516129 8.83870968 18.30645161
+5.64516129 9.12903226 18.30645161
+5.64516129 9.41935484 18.30645161
+5.64516129 9.70967742 18.30645161
+5.64516129 10.00000000 18.30645161
+5.93548387 1.00000000 13.66935484
+5.93548387 1.29032258 13.66935484
+5.93548387 1.58064516 13.66935484
+5.93548387 1.87096774 13.66935484
+5.93548387 2.16129032 13.66935484
+5.93548387 2.45161290 13.66935484
+5.93548387 2.74193548 13.66935484
+5.93548387 3.03225806 13.73015873
+5.93548387 3.32258065 14.20138889
+5.93548387 3.61290323 14.56790123
+5.93548387 3.90322581 14.86111111
+5.93548387 4.19354839 15.10526316
+5.93548387 4.48387097 15.34210526
+5.93548387 4.77419355 15.57894737
+5.93548387 5.06451613 15.81578947
+5.93548387 5.35483871 16.05263158
+5.93548387 5.64516129 16.28947368
+5.93548387 5.93548387 16.52631579
+5.93548387 6.22580645 16.94767442
+5.93548387 6.51612903 17.46753247
+5.93548387 6.80645161 18.12500000
+5.93548387 7.09677419 18.66935484
+5.93548387 7.38709677 18.66935484
+5.93548387 7.67741935 18.66935484
+5.93548387 7.96774194 18.66935484
+5.93548387 8.25806452 18.66935484
+5.93548387 8.54838710 18.66935484
+5.93548387 8.83870968 18.66935484
+5.93548387 9.12903226 18.66935484
+5.93548387 9.41935484 18.66935484
+5.93548387 9.70967742 18.66935484
+5.93548387 10.00000000 18.66935484
+6.22580645 1.00000000 14.03225806
+6.22580645 1.29032258 14.03225806
+6.22580645 1.58064516 14.03225806
+6.22580645 1.87096774 14.03225806
+6.22580645 2.16129032 14.03225806
+6.22580645 2.45161290 14.03225806
+6.22580645 2.74193548 14.03225806
+6.22580645 3.03225806 14.08730159
+6.22580645 3.32258065 14.51388889
+6.22580645 3.61290323 14.84567901
+6.22580645 3.90322581 15.11627907
+6.22580645 4.19354839 15.37790698
+6.22580645 4.48387097 15.63953488
+6.22580645 4.77419355 15.90116279
+6.22580645 5.06451613 16.16279070
+6.22580645 5.35483871 16.42441860
+6.22580645 5.64516129 16.68604651
+6.22580645 5.93548387 16.94767442
+6.22580645 6.22580645 17.20930233
+6.22580645 6.51612903 17.75974026
+6.22580645 6.80645161 18.45588235
+6.22580645 7.09677419 19.03225806
+6.22580645 7.38709677 19.03225806
+6.22580645 7.67741935 19.03225806
+6.22580645 7.96774194 19.03225806
+6.22580645 8.25806452 19.03225806
+6.22580645 8.54838710 19.03225806
+6.22580645 8.83870968 19.03225806
+6.22580645 9.12903226 19.03225806
+6.22580645 9.41935484 19.03225806
+6.22580645 9.70967742 19.03225806
+6.22580645 10.00000000 19.03225806
+6.51612903 1.00000000 14.39516129
+6.51612903 1.29032258 14.39516129
+6.51612903 1.58064516 14.39516129
+6.51612903 1.87096774 14.39516129
+6.51612903 2.16129032 14.39516129
+6.51612903 2.45161290 14.39516129
+6.51612903 2.74193548 14.39516129
+6.51612903 3.03225806 14.44444444
+6.51612903 3.32258065 14.82638889
+6.51612903 3.61290323 15.12987013
+6.51612903 3.90322581 15.42207792
+6.51612903 4.19354839 15.71428571
+6.51612903 4.48387097 16.00649351
+6.51612903 4.77419355 16.29870130
+6.51612903 5.06451613 16.59090909
+6.51612903 5.35483871 16.88311688
+6.51612903 5.64516129 17.17532468
+6.51612903 5.93548387 17.46753247
+6.51612903 6.22580645 17.75974026
+6.51612903 6.51612903 18.05194805
+6.51612903 6.80645161 18.78676471
+6.51612903 7.09677419 19.39516129
+6.51612903 7.38709677 19.39516129
+6.51612903 7.67741935 19.39516129
+6.51612903 7.96774194 19.39516129
+6.51612903 8.25806452 19.39516129
+6.51612903 8.54838710 19.39516129
+6.51612903 8.83870968 19.39516129
+6.51612903 9.12903226 19.39516129
+6.51612903 9.41935484 19.39516129
+6.51612903 9.70967742 19.39516129
+6.51612903 10.00000000 19.39516129
+6.80645161 1.00000000 14.75806452
+6.80645161 1.29032258 14.75806452
+6.80645161 1.58064516 14.75806452
+6.80645161 1.87096774 14.75806452
+6.80645161 2.16129032 14.75806452
+6.80645161 2.45161290 14.75806452
+6.80645161 2.74193548 14.75806452
+6.80645161 3.03225806 14.80158730
+6.80645161 3.32258065 15.14705882
+6.80645161 3.61290323 15.47794118
+6.80645161 3.90322581 15.80882353
+6.80645161 4.19354839 16.13970588
+6.80645161 4.48387097 16.47058824
+6.80645161 4.77419355 16.80147059
+6.80645161 5.06451613 17.13235294
+6.80645161 5.35483871 17.46323529
+6.80645161 5.64516129 17.79411765
+6.80645161 5.93548387 18.12500000
+6.80645161 6.22580645 18.45588235
+6.80645161 6.51612903 18.78676471
+6.80645161 6.80645161 19.11764706
+6.80645161 7.09677419 19.75806452
+6.80645161 7.38709677 19.75806452
+6.80645161 7.67741935 19.75806452
+6.80645161 7.96774194 19.75806452
+6.80645161 8.25806452 19.75806452
+6.80645161 8.54838710 19.75806452
+6.80645161 8.83870968 19.75806452
+6.80645161 9.12903226 19.75806452
+6.80645161 9.41935484 19.75806452
+6.80645161 9.70967742 19.75806452
+6.80645161 10.00000000 19.75806452
+7.09677419 1.00000000 15.00000000
+7.09677419 1.29032258 15.00000000
+7.09677419 1.58064516 15.00000000
+7.09677419 1.87096774 15.00000000
+7.09677419 2.16129032 15.00000000
+7.09677419 2.45161290 15.00000000
+7.09677419 2.74193548 15.00000000
+7.09677419 3.03225806 15.04032258
+7.09677419 3.32258065 15.40322581
+7.09677419 3.61290323 15.76612903
+7.09677419 3.90322581 16.12903226
+7.09677419 4.19354839 16.49193548
+7.09677419 4.48387097 16.85483871
+7.09677419 4.77419355 17.21774194
+7.09677419 5.06451613 17.58064516
+7.09677419 5.35483871 17.94354839
+7.09677419 5.64516129 18.30645161
+7.09677419 5.93548387 18.66935484
+7.09677419 6.22580645 19.03225806
+7.09677419 6.51612903 19.39516129
+7.09677419 6.80645161 19.75806452
+7.09677419 7.09677419 20.00000000
+7.09677419 7.38709677 20.00000000
+7.09677419 7.67741935 20.00000000
+7.09677419 7.96774194 20.00000000
+7.09677419 8.25806452 20.00000000
+7.09677419 8.54838710 20.00000000
+7.09677419 8.83870968 20.00000000
+7.09677419 9.12903226 20.00000000
+7.09677419 9.41935484 20.00000000
+7.09677419 9.70967742 20.00000000
+7.09677419 10.00000000 20.00000000
+7.38709677 1.00000000 15.00000000
+7.38709677 1.29032258 15.00000000
+7.38709677 1.58064516 15.00000000
+7.38709677 1.87096774 15.00000000
+7.38709677 2.16129032 15.00000000
+7.38709677 2.45161290 15.00000000
+7.38709677 2.74193548 15.00000000
+7.38709677 3.03225806 15.04032258
+7.38709677 3.32258065 15.40322581
+7.38709677 3.61290323 15.76612903
+7.38709677 3.90322581 16.12903226
+7.38709677 4.19354839 16.49193548
+7.38709677 4.48387097 16.85483871
+7.38709677 4.77419355 17.21774194
+7.38709677 5.06451613 17.58064516
+7.38709677 5.35483871 17.94354839
+7.38709677 5.64516129 18.30645161
+7.38709677 5.93548387 18.66935484
+7.38709677 6.22580645 19.03225806
+7.38709677 6.51612903 19.39516129
+7.38709677 6.80645161 19.75806452
+7.38709677 7.09677419 20.00000000
+7.38709677 7.38709677 20.00000000
+7.38709677 7.67741935 20.00000000
+7.38709677 7.96774194 20.00000000
+7.38709677 8.25806452 20.00000000
+7.38709677 8.54838710 20.00000000
+7.38709677 8.83870968 20.00000000
+7.38709677 9.12903226 20.00000000
+7.38709677 9.41935484 20.00000000
+7.38709677 9.70967742 20.00000000
+7.38709677 10.00000000 20.00000000
+7.67741935 1.00000000 15.00000000
+7.67741935 1.29032258 15.00000000
+7.67741935 1.58064516 15.00000000
+7.67741935 1.87096774 15.00000000
+7.67741935 2.16129032 15.00000000
+7.67741935 2.45161290 15.00000000
+7.67741935 2.74193548 15.00000000
+7.67741935 3.03225806 15.04032258
+7.67741935 3.32258065 15.40322581
+7.67741935 3.61290323 15.76612903
+7.67741935 3.90322581 16.12903226
+7.67741935 4.19354839 16.49193548
+7.67741935 4.48387097 16.85483871
+7.67741935 4.77419355 17.21774194
+7.67741935 5.06451613 17.58064516
+7.67741935 5.35483871 17.94354839
+7.67741935 5.64516129 18.30645161
+7.67741935 5.93548387 18.66935484
+7.67741935 6.22580645 19.03225806
+7.67741935 6.51612903 19.39516129
+7.67741935 6.80645161 19.75806452
+7.67741935 7.09677419 20.00000000
+7.67741935 7.38709677 20.00000000
+7.67741935 7.67741935 20.00000000
+7.67741935 7.96774194 20.00000000
+7.67741935 8.25806452 20.00000000
+7.67741935 8.54838710 20.00000000
+7.67741935 8.83870968 20.00000000
+7.67741935 9.12903226 20.00000000
+7.67741935 9.41935484 20.00000000
+7.67741935 9.70967742 20.00000000
+7.67741935 10.00000000 20.00000000
+7.96774194 1.00000000 15.00000000
+7.96774194 1.29032258 15.00000000
+7.96774194 1.58064516 15.00000000
+7.96774194 1.87096774 15.00000000
+7.96774194 2.16129032 15.00000000
+7.96774194 2.45161290 15.00000000
+7.96774194 2.74193548 15.00000000
+7.96774194 3.03225806 15.04032258
+7.96774194 3.32258065 15.40322581
+7.96774194 3.61290323 15.76612903
+7.96774194 3.90322581 16.12903226
+7.96774194 4.19354839 16.49193548
+7.96774194 4.48387097 16.85483871
+7.96774194 4.77419355 17.21774194
+7.96774194 5.06451613 17.58064516
+7.96774194 5.35483871 17.94354839
+7.96774194 5.64516129 18.30645161
+7.96774194 5.93548387 18.66935484
+7.96774194 6.22580645 19.03225806
+7.96774194 6.51612903 19.39516129
+7.96774194 6.80645161 19.75806452
+7.96774194 7.09677419 20.00000000
+7.96774194 7.38709677 20.00000000
+7.96774194 7.67741935 20.00000000
+7.96774194 7.96774194 20.00000000
+7.96774194 8.25806452 20.00000000
+7.96774194 8.54838710 20.00000000
+7.96774194 8.83870968 20.00000000
+7.96774194 9.12903226 20.00000000
+7.96774194 9.41935484 20.00000000
+7.96774194 9.70967742 20.00000000
+7.96774194 10.00000000 20.00000000
+8.25806452 1.00000000 15.00000000
+8.25806452 1.29032258 15.00000000
+8.25806452 1.58064516 15.00000000
+8.25806452 1.87096774 15.00000000
+8.25806452 2.16129032 15.00000000
+8.25806452 2.45161290 15.00000000
+8.25806452 2.74193548 15.00000000
+8.25806452 3.03225806 15.04032258
+8.25806452 3.32258065 15.40322581
+8.25806452 3.61290323 15.76612903
+8.25806452 3.90322581 16.12903226
+8.25806452 4.19354839 16.49193548
+8.25806452 4.48387097 16.85483871
+8.25806452 4.77419355 17.21774194
+8.25806452 5.06451613 17.58064516
+8.25806452 5.35483871 17.94354839
+8.25806452 5.64516129 18.30645161
+8.25806452 5.93548387 18.66935484
+8.25806452 6.22580645 19.03225806
+8.25806452 6.51612903 19.39516129
+8.25806452 6.80645161 19.75806452
+8.25806452 7.09677419 20.00000000
+8.25806452 7.38709677 20.00000000
+8.25806452 7.67741935 20.00000000
+8.25806452 7.96774194 20.00000000
+8.25806452 8.25806452 20.00000000
+8.25806452 8.54838710 20.00000000
+8.25806452 8.83870968 20.00000000
+8.25806452 9.12903226 20.00000000
+8.25806452 9.41935484 20.00000000
+8.25806452 9.70967742 20.00000000
+8.25806452 10.00000000 20.00000000
+8.54838710 1.00000000 15.00000000
+8.54838710 1.29032258 15.00000000
+8.54838710 1.58064516 15.00000000
+8.54838710 1.87096774 15.00000000
+8.54838710 2.16129032 15.00000000
+8.54838710 2.45161290 15.00000000
+8.54838710 2.74193548 15.00000000
+8.54838710 3.03225806 15.04032258
+8.54838710 3.32258065 15.40322581
+8.54838710 3.61290323 15.76612903
+8.54838710 3.90322581 16.12903226
+8.54838710 4.19354839 16.49193548
+8.54838710 4.48387097 16.85483871
+8.54838710 4.77419355 17.21774194
+8.54838710 5.06451613 17.58064516
+8.54838710 5.35483871 17.94354839
+8.54838710 5.64516129 18.30645161
+8.54838710 5.93548387 18.66935484
+8.54838710 6.22580645 19.03225806
+8.54838710 6.51612903 19.39516129
+8.54838710 6.80645161 19.75806452
+8.54838710 7.09677419 20.00000000
+8.54838710 7.38709677 20.00000000
+8.54838710 7.67741935 20.00000000
+8.54838710 7.96774194 20.00000000
+8.54838710 8.25806452 20.00000000
+8.54838710 8.54838710 20.00000000
+8.54838710 8.83870968 20.00000000
+8.54838710 9.12903226 20.00000000
+8.54838710 9.41935484 20.00000000
+8.54838710 9.70967742 20.00000000
+8.54838710 10.00000000 20.00000000
+8.83870968 1.00000000 15.00000000
+8.83870968 1.29032258 15.00000000
+8.83870968 1.58064516 15.00000000
+8.83870968 1.87096774 15.00000000
+8.83870968 2.16129032 15.00000000
+8.83870968 2.45161290 15.00000000
+8.83870968 2.74193548 15.00000000
+8.83870968 3.03225806 15.04032258
+8.83870968 3.32258065 15.40322581
+8.83870968 3.61290323 15.76612903
+8.83870968 3.90322581 16.12903226
+8.83870968 4.19354839 16.49193548
+8.83870968 4.48387097 16.85483871
+8.83870968 4.77419355 17.21774194
+8.83870968 5.06451613 17.58064516
+8.83870968 5.35483871 17.94354839
+8.83870968 5.64516129 18.30645161
+8.83870968 5.93548387 18.66935484
+8.83870968 6.22580645 19.03225806
+8.83870968 6.51612903 19.39516129
+8.83870968 6.80645161 19.75806452
+8.83870968 7.09677419 20.00000000
+8.83870968 7.38709677 20.00000000
+8.83870968 7.67741935 20.00000000
+8.83870968 7.96774194 20.00000000
+8.83870968 8.25806452 20.00000000
+8.83870968 8.54838710 20.00000000
+8.83870968 8.83870968 20.00000000
+8.83870968 9.12903226 20.00000000
+8.83870968 9.41935484 20.00000000
+8.83870968 9.70967742 20.00000000
+8.83870968 10.00000000 20.00000000
+9.12903226 1.00000000 15.00000000
+9.12903226 1.29032258 15.00000000
+9.12903226 1.58064516 15.00000000
+9.12903226 1.87096774 15.00000000
+9.12903226 2.16129032 15.00000000
+9.12903226 2.45161290 15.00000000
+9.12903226 2.74193548 15.00000000
+9.12903226 3.03225806 15.04032258
+9.12903226 3.32258065 15.40322581
+9.12903226 3.61290323 15.76612903
+9.12903226 3.90322581 16.12903226
+9.12903226 4.19354839 16.49193548
+9.12903226 4.48387097 16.85483871
+9.12903226 4.77419355 17.21774194
+9.12903226 5.06451613 17.58064516
+9.12903226 5.35483871 17.94354839
+9.12903226 5.64516129 18.30645161
+9.12903226 5.93548387 18.66935484
+9.12903226 6.22580645 19.03225806
+9.12903226 6.51612903 19.39516129
+9.12903226 6.80645161 19.75806452
+9.12903226 7.09677419 20.00000000
+9.12903226 7.38709677 20.00000000
+9.12903226 7.67741935 20.00000000
+9.12903226 7.96774194 20.00000000
+9.12903226 8.25806452 20.00000000
+9.12903226 8.54838710 20.00000000
+9.12903226 8.83870968 20.00000000
+9.12903226 9.12903226 20.00000000
+9.12903226 9.41935484 20.00000000
+9.12903226 9.70967742 20.00000000
+9.12903226 10.00000000 20.00000000
+9.41935484 1.00000000 15.00000000
+9.41935484 1.29032258 15.00000000
+9.41935484 1.58064516 15.00000000
+9.41935484 1.87096774 15.00000000
+9.41935484 2.16129032 15.00000000
+9.41935484 2.45161290 15.00000000
+9.41935484 2.74193548 15.00000000
+9.41935484 3.03225806 15.04032258
+9.41935484 3.32258065 15.40322581
+9.41935484 3.61290323 15.76612903
+9.41935484 3.90322581 16.12903226
+9.41935484 4.19354839 16.49193548
+9.41935484 4.48387097 16.85483871
+9.41935484 4.77419355 17.21774194
+9.41935484 5.06451613 17.58064516
+9.41935484 5.35483871 17.94354839
+9.41935484 5.64516129 18.30645161
+9.41935484 5.93548387 18.66935484
+9.41935484 6.22580645 19.03225806
+9.41935484 6.51612903 19.39516129
+9.41935484 6.80645161 19.75806452
+9.41935484 7.09677419 20.00000000
+9.41935484 7.38709677 20.00000000
+9.41935484 7.67741935 20.00000000
+9.41935484 7.96774194 20.00000000
+9.41935484 8.25806452 20.00000000
+9.41935484 8.54838710 20.00000000
+9.41935484 8.83870968 20.00000000
+9.41935484 9.12903226 20.00000000
+9.41935484 9.41935484 20.00000000
+9.41935484 9.70967742 20.00000000
+9.41935484 10.00000000 20.00000000
+9.70967742 1.00000000 15.00000000
+9.70967742 1.29032258 15.00000000
+9.70967742 1.58064516 15.00000000
+9.70967742 1.87096774 15.00000000
+9.70967742 2.16129032 15.00000000
+9.70967742 2.45161290 15.00000000
+9.70967742 2.74193548 15.00000000
+9.70967742 3.03225806 15.04032258
+9.70967742 3.32258065 15.40322581
+9.70967742 3.61290323 15.76612903
+9.70967742 3.90322581 16.12903226
+9.70967742 4.19354839 16.49193548
+9.70967742 4.48387097 16.85483871
+9.70967742 4.77419355 17.21774194
+9.70967742 5.06451613 17.58064516
+9.70967742 5.35483871 17.94354839
+9.70967742 5.64516129 18.30645161
+9.70967742 5.93548387 18.66935484
+9.70967742 6.22580645 19.03225806
+9.70967742 6.51612903 19.39516129
+9.70967742 6.80645161 19.75806452
+9.70967742 7.09677419 20.00000000
+9.70967742 7.38709677 20.00000000
+9.70967742 7.67741935 20.00000000
+9.70967742 7.96774194 20.00000000
+9.70967742 8.25806452 20.00000000
+9.70967742 8.54838710 20.00000000
+9.70967742 8.83870968 20.00000000
+9.70967742 9.12903226 20.00000000
+9.70967742 9.41935484 20.00000000
+9.70967742 9.70967742 20.00000000
+9.70967742 10.00000000 20.00000000
+10.00000000 1.00000000 15.00000000
+10.00000000 1.29032258 15.00000000
+10.00000000 1.58064516 15.00000000
+10.00000000 1.87096774 15.00000000
+10.00000000 2.16129032 15.00000000
+10.00000000 2.45161290 15.00000000
+10.00000000 2.74193548 15.00000000
+10.00000000 3.03225806 15.04032258
+10.00000000 3.32258065 15.40322581
+10.00000000 3.61290323 15.76612903
+10.00000000 3.90322581 16.12903226
+10.00000000 4.19354839 16.49193548
+10.00000000 4.48387097 16.85483871
+10.00000000 4.77419355 17.21774194
+10.00000000 5.06451613 17.58064516
+10.00000000 5.35483871 17.94354839
+10.00000000 5.64516129 18.30645161
+10.00000000 5.93548387 18.66935484
+10.00000000 6.22580645 19.03225806
+10.00000000 6.51612903 19.39516129
+10.00000000 6.80645161 19.75806452
+10.00000000 7.09677419 20.00000000
+10.00000000 7.38709677 20.00000000
+10.00000000 7.67741935 20.00000000
+10.00000000 7.96774194 20.00000000
+10.00000000 8.25806452 20.00000000
+10.00000000 8.54838710 20.00000000
+10.00000000 8.83870968 20.00000000
+10.00000000 9.12903226 20.00000000
+10.00000000 9.41935484 20.00000000
+10.00000000 9.70967742 20.00000000
+10.00000000 10.00000000 20.00000000
diff --git a/examples/takagi-sugeno/octave/linear_tip_calculator.fll b/examples/takagi-sugeno/octave/linear_tip_calculator.fll
new file mode 100644
index 0000000..8c1f597
--- /dev/null
+++ b/examples/takagi-sugeno/octave/linear_tip_calculator.fll
@@ -0,0 +1,31 @@
+Engine: Linear-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: 10.000 20.000
+ accumulation: none
+ defuzzifier: WeightedAverage TakagiSugeno
+ default: nan
+ lock-previous: false
+ lock-range: false
+ term: TenPercent Linear 0.000 0.000 10.000
+ term: FifteenPercent Linear 0.000 0.000 15.000
+ term: TwentyPercent Linear 0.000 0.000 20.000
+RuleBlock:
+ enabled: true
+ conjunction: Minimum
+ disjunction: none
+ activation: none
+ rule: if FoodQuality is Bad and Service is Bad then Tip is TenPercent
+ rule: if FoodQuality is Bad and Service is Good then Tip is FifteenPercent
+ rule: if FoodQuality is Good and Service is Bad then Tip is FifteenPercent
+ rule: if FoodQuality is Good and Service is Good then Tip is TwentyPercent \ No newline at end of file
diff --git a/examples/takagi-sugeno/octave/linear_tip_calculator.java b/examples/takagi-sugeno/octave/linear_tip_calculator.java
new file mode 100644
index 0000000..0600638
--- /dev/null
+++ b/examples/takagi-sugeno/octave/linear_tip_calculator.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 linear_tip_calculator{
+public static void main(String[] args){
+Engine engine = new Engine();
+engine.setName("Linear-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 outputVariable = new OutputVariable();
+outputVariable.setEnabled(true);
+outputVariable.setName("Tip");
+outputVariable.setRange(10.000, 20.000);
+outputVariable.fuzzyOutput().setAccumulation(null);
+outputVariable.setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable.setDefaultValue(Double.NaN);
+outputVariable.setLockPreviousOutputValue(false);
+outputVariable.setLockOutputValueInRange(false);
+outputVariable.addTerm(Linear.create("TenPercent", engine, 0.000, 0.000, 10.000));
+outputVariable.addTerm(Linear.create("FifteenPercent", engine, 0.000, 0.000, 15.000));
+outputVariable.addTerm(Linear.create("TwentyPercent", engine, 0.000, 0.000, 20.000));
+engine.addOutputVariable(outputVariable);
+
+RuleBlock ruleBlock = new RuleBlock();
+ruleBlock.setEnabled(true);
+ruleBlock.setName("");
+ruleBlock.setConjunction(new Minimum());
+ruleBlock.setDisjunction(null);
+ruleBlock.setActivation(null);
+ruleBlock.addRule(Rule.parse("if FoodQuality is Bad and Service is Bad then Tip is TenPercent", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is Bad and Service is Good then Tip is FifteenPercent", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is Good and Service is Bad then Tip is FifteenPercent", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is Good and Service is Good then Tip is TwentyPercent", engine));
+engine.addRuleBlock(ruleBlock);
+
+
+}
+}
diff --git a/examples/takagi-sugeno/octave/sugeno_tip_calculator.cpp b/examples/takagi-sugeno/octave/sugeno_tip_calculator.cpp
new file mode 100644
index 0000000..d92de0a
--- /dev/null
+++ b/examples/takagi-sugeno/octave/sugeno_tip_calculator.cpp
@@ -0,0 +1,86 @@
+#include <fl/Headers.h>
+
+int main(int argc, char** argv){
+using namespace fl;
+
+Engine* engine = new Engine;
+engine->setName("Sugeno-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("CheapTip");
+outputVariable1->setRange(5.000, 25.000);
+outputVariable1->fuzzyOutput()->setAccumulation(fl::null);
+outputVariable1->setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable1->setDefaultValue(fl::nan);
+outputVariable1->setLockPreviousOutputValue(false);
+outputVariable1->setLockOutputValueInRange(false);
+outputVariable1->addTerm(new Constant("Low", 10.000));
+outputVariable1->addTerm(new Constant("Medium", 15.000));
+outputVariable1->addTerm(new Constant("High", 20.000));
+engine->addOutputVariable(outputVariable1);
+
+OutputVariable* outputVariable2 = new OutputVariable;
+outputVariable2->setEnabled(true);
+outputVariable2->setName("AverageTip");
+outputVariable2->setRange(5.000, 25.000);
+outputVariable2->fuzzyOutput()->setAccumulation(fl::null);
+outputVariable2->setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable2->setDefaultValue(fl::nan);
+outputVariable2->setLockPreviousOutputValue(false);
+outputVariable2->setLockOutputValueInRange(false);
+outputVariable2->addTerm(new Constant("Low", 10.000));
+outputVariable2->addTerm(new Constant("Medium", 15.000));
+outputVariable2->addTerm(new Constant("High", 20.000));
+engine->addOutputVariable(outputVariable2);
+
+OutputVariable* outputVariable3 = new OutputVariable;
+outputVariable3->setEnabled(true);
+outputVariable3->setName("GenerousTip");
+outputVariable3->setRange(5.000, 25.000);
+outputVariable3->fuzzyOutput()->setAccumulation(fl::null);
+outputVariable3->setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable3->setDefaultValue(fl::nan);
+outputVariable3->setLockPreviousOutputValue(false);
+outputVariable3->setLockOutputValueInRange(false);
+outputVariable3->addTerm(new Constant("Low", 10.000));
+outputVariable3->addTerm(new Constant("Medium", 15.000));
+outputVariable3->addTerm(new Constant("High", 20.000));
+engine->addOutputVariable(outputVariable3);
+
+RuleBlock* ruleBlock = new RuleBlock;
+ruleBlock->setEnabled(true);
+ruleBlock->setName("");
+ruleBlock->setConjunction(new EinsteinProduct);
+ruleBlock->setDisjunction(fl::null);
+ruleBlock->setActivation(fl::null);
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is extremely Bad and Service is extremely Bad then CheapTip is extremely Low and AverageTip is very Low and GenerousTip is Low", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Good and Service is extremely Bad then CheapTip is Low and AverageTip is Low and GenerousTip is Medium", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is very Good and Service is very Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is High", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Bad and Service is Bad then CheapTip is Low and AverageTip is Low and GenerousTip is Medium", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Good and Service is Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is High", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is extremely Good and Service is Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is very High", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Bad and Service is Good then CheapTip is Low and AverageTip is Medium and GenerousTip is High", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is Good and Service is Good then CheapTip is Medium and AverageTip is Medium and GenerousTip is very High", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is very Bad and Service is very Good then CheapTip is Low and AverageTip is Medium and GenerousTip is High", engine));
+ruleBlock->addRule(fl::Rule::parse("if FoodQuality is very very Good and Service is very very Good then CheapTip is High and AverageTip is very High and GenerousTip is extremely High", engine));
+engine->addRuleBlock(ruleBlock);
+
+
+}
diff --git a/examples/takagi-sugeno/octave/sugeno_tip_calculator.fcl b/examples/takagi-sugeno/octave/sugeno_tip_calculator.fcl
new file mode 100644
index 0000000..ad98f68
--- /dev/null
+++ b/examples/takagi-sugeno/octave/sugeno_tip_calculator.fcl
@@ -0,0 +1,67 @@
+FUNCTION_BLOCK Sugeno-Tip-Calculator
+
+VAR_INPUT
+ FoodQuality: REAL;
+ Service: REAL;
+END_VAR
+
+VAR_OUTPUT
+ CheapTip: REAL;
+ AverageTip: REAL;
+ GenerousTip: 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 CheapTip
+ RANGE := (5.000 .. 25.000);
+ TERM Low := 10.000;
+ TERM Medium := 15.000;
+ TERM High := 20.000;
+ METHOD : COGS;
+ DEFAULT := nan;
+END_DEFUZZIFY
+
+DEFUZZIFY AverageTip
+ RANGE := (5.000 .. 25.000);
+ TERM Low := 10.000;
+ TERM Medium := 15.000;
+ TERM High := 20.000;
+ METHOD : COGS;
+ DEFAULT := nan;
+END_DEFUZZIFY
+
+DEFUZZIFY GenerousTip
+ RANGE := (5.000 .. 25.000);
+ TERM Low := 10.000;
+ TERM Medium := 15.000;
+ TERM High := 20.000;
+ METHOD : COGS;
+ DEFAULT := nan;
+END_DEFUZZIFY
+
+RULEBLOCK
+ AND : EPROD;
+ RULE 1 : if FoodQuality is extremely Bad and Service is extremely Bad then CheapTip is extremely Low and AverageTip is very Low and GenerousTip is Low
+ RULE 2 : if FoodQuality is Good and Service is extremely Bad then CheapTip is Low and AverageTip is Low and GenerousTip is Medium
+ RULE 3 : if FoodQuality is very Good and Service is very Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is High
+ RULE 4 : if FoodQuality is Bad and Service is Bad then CheapTip is Low and AverageTip is Low and GenerousTip is Medium
+ RULE 5 : if FoodQuality is Good and Service is Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is High
+ RULE 6 : if FoodQuality is extremely Good and Service is Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is very High
+ RULE 7 : if FoodQuality is Bad and Service is Good then CheapTip is Low and AverageTip is Medium and GenerousTip is High
+ RULE 8 : if FoodQuality is Good and Service is Good then CheapTip is Medium and AverageTip is Medium and GenerousTip is very High
+ RULE 9 : if FoodQuality is very Bad and Service is very Good then CheapTip is Low and AverageTip is Medium and GenerousTip is High
+ RULE 10 : if FoodQuality is very very Good and Service is very very Good then CheapTip is High and AverageTip is very High and GenerousTip is extremely High
+END_RULEBLOCK
+
+END_FUNCTION_BLOCK
diff --git a/examples/takagi-sugeno/octave/sugeno_tip_calculator.fis b/examples/takagi-sugeno/octave/sugeno_tip_calculator.fis
new file mode 100644
index 0000000..4349913
--- /dev/null
+++ b/examples/takagi-sugeno/octave/sugeno_tip_calculator.fis
@@ -0,0 +1,61 @@
+[System]
+Name='Sugeno-Tip-Calculator'
+Type='sugeno'
+NumInputs=2
+NumOutputs=3
+NumRules=10
+AndMethod='einstein_product'
+OrMethod=''
+ImpMethod=''
+AggMethod=''
+DefuzzMethod='wtaver'
+
+[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='CheapTip'
+Range=[5.000 25.000]
+NumMFs=3
+MF1='Low':'constant',[10.000]
+MF2='Medium':'constant',[15.000]
+MF3='High':'constant',[20.000]
+
+[Output2]
+Name='AverageTip'
+Range=[5.000 25.000]
+NumMFs=3
+MF1='Low':'constant',[10.000]
+MF2='Medium':'constant',[15.000]
+MF3='High':'constant',[20.000]
+
+[Output3]
+Name='GenerousTip'
+Range=[5.000 25.000]
+NumMFs=3
+MF1='Low':'constant',[10.000]
+MF2='Medium':'constant',[15.000]
+MF3='High':'constant',[20.000]
+
+[Rules]
+1.300 1.300 , 1.300 1.200 1.000 (1.000) : 1
+2.000 1.300 , 1.000 1.000 2.000 (1.000) : 1
+2.200 1.200 , 1.000 2.000 3.000 (1.000) : 1
+1.000 1.000 , 1.000 1.000 2.000 (1.000) : 1
+2.000 1.000 , 1.000 2.000 3.000 (1.000) : 1
+2.300 1.000 , 1.000 2.000 3.200 (1.000) : 1
+1.000 2.000 , 1.000 2.000 3.000 (1.000) : 1
+2.000 2.000 , 2.000 2.000 3.200 (1.000) : 1
+1.200 2.200 , 1.000 2.000 3.000 (1.000) : 1
+2.400 2.400 , 3.000 3.200 3.300 (1.000) : 1
diff --git a/examples/takagi-sugeno/octave/sugeno_tip_calculator.fld b/examples/takagi-sugeno/octave/sugeno_tip_calculator.fld
new file mode 100644
index 0000000..6816af5
--- /dev/null
+++ b/examples/takagi-sugeno/octave/sugeno_tip_calculator.fld
@@ -0,0 +1,1026 @@
+#@Engine: Sugeno-Tip-Calculator;
+#@InputVariable: FoodQuality; @InputVariable: Service; @OutputVariable: CheapTip; @OutputVariable: AverageTip; @OutputVariable: GenerousTip;
+1.00000000 1.00000000 10.00000000 10.00000000 12.50000000
+1.00000000 1.29032258 10.00000000 10.00000000 12.50000000
+1.00000000 1.58064516 10.00000000 10.00000000 12.50000000
+1.00000000 1.87096774 10.00000000 10.00000000 12.50000000
+1.00000000 2.16129032 10.00000000 10.00000000 12.50000000
+1.00000000 2.45161290 10.00000000 10.00000000 12.50000000
+1.00000000 2.74193548 10.00000000 10.00000000 12.50000000
+1.00000000 3.03225806 10.00000000 10.02032322 12.52040460
+1.00000000 3.32258065 10.00000000 10.21723908 12.72618837
+1.00000000 3.61290323 10.00000000 10.43854143 12.97859532
+1.00000000 3.90322581 10.00000000 10.68860515 13.30323372
+1.00000000 4.19354839 10.00000000 10.98519415 13.75455390
+1.00000000 4.48387097 10.00000000 11.36896201 14.43109544
+1.00000000 4.77419355 10.00000000 11.91319586 15.48909397
+1.00000000 5.06451613 10.00000000 12.68223479 17.02303230
+1.00000000 5.35483871 10.00000000 13.34274407 18.15544945
+1.00000000 5.64516129 10.00000000 13.79246624 18.75419392
+1.00000000 5.93548387 10.00000000 14.13081618 19.12558840
+1.00000000 6.22580645 10.00000000 14.41328213 19.41290031
+1.00000000 6.51612903 10.00000000 14.65879553 19.65878725
+1.00000000 6.80645161 10.00000000 14.87303754 19.87303753
+1.00000000 7.09677419 10.00000000 15.00000000 20.00000000
+1.00000000 7.38709677 10.00000000 15.00000000 20.00000000
+1.00000000 7.67741935 10.00000000 15.00000000 20.00000000
+1.00000000 7.96774194 10.00000000 15.00000000 20.00000000
+1.00000000 8.25806452 10.00000000 15.00000000 20.00000000
+1.00000000 8.54838710 10.00000000 15.00000000 20.00000000
+1.00000000 8.83870968 10.00000000 15.00000000 20.00000000
+1.00000000 9.12903226 10.00000000 15.00000000 20.00000000
+1.00000000 9.41935484 10.00000000 15.00000000 20.00000000
+1.00000000 9.70967742 10.00000000 15.00000000 20.00000000
+1.00000000 10.00000000 10.00000000 15.00000000 20.00000000
+1.29032258 1.00000000 10.00000000 10.00000000 12.50000000
+1.29032258 1.29032258 10.00000000 10.00000000 12.50000000
+1.29032258 1.58064516 10.00000000 10.00000000 12.50000000
+1.29032258 1.87096774 10.00000000 10.00000000 12.50000000
+1.29032258 2.16129032 10.00000000 10.00000000 12.50000000
+1.29032258 2.45161290 10.00000000 10.00000000 12.50000000
+1.29032258 2.74193548 10.00000000 10.00000000 12.50000000
+1.29032258 3.03225806 10.00000000 10.02032322 12.52040460
+1.29032258 3.32258065 10.00000000 10.21723908 12.72618837
+1.29032258 3.61290323 10.00000000 10.43854143 12.97859532
+1.29032258 3.90322581 10.00000000 10.68860515 13.30323372
+1.29032258 4.19354839 10.00000000 10.98519415 13.75455390
+1.29032258 4.48387097 10.00000000 11.36896201 14.43109544
+1.29032258 4.77419355 10.00000000 11.91319586 15.48909397
+1.29032258 5.06451613 10.00000000 12.68223479 17.02303230
+1.29032258 5.35483871 10.00000000 13.34274407 18.15544945
+1.29032258 5.64516129 10.00000000 13.79246624 18.75419392
+1.29032258 5.93548387 10.00000000 14.13081618 19.12558840
+1.29032258 6.22580645 10.00000000 14.41328213 19.41290031
+1.29032258 6.51612903 10.00000000 14.65879553 19.65878725
+1.29032258 6.80645161 10.00000000 14.87303754 19.87303753
+1.29032258 7.09677419 10.00000000 15.00000000 20.00000000
+1.29032258 7.38709677 10.00000000 15.00000000 20.00000000
+1.29032258 7.67741935 10.00000000 15.00000000 20.00000000
+1.29032258 7.96774194 10.00000000 15.00000000 20.00000000
+1.29032258 8.25806452 10.00000000 15.00000000 20.00000000
+1.29032258 8.54838710 10.00000000 15.00000000 20.00000000
+1.29032258 8.83870968 10.00000000 15.00000000 20.00000000
+1.29032258 9.12903226 10.00000000 15.00000000 20.00000000
+1.29032258 9.41935484 10.00000000 15.00000000 20.00000000
+1.29032258 9.70967742 10.00000000 15.00000000 20.00000000
+1.29032258 10.00000000 10.00000000 15.00000000 20.00000000
+1.58064516 1.00000000 10.00000000 10.00000000 12.50000000
+1.58064516 1.29032258 10.00000000 10.00000000 12.50000000
+1.58064516 1.58064516 10.00000000 10.00000000 12.50000000
+1.58064516 1.87096774 10.00000000 10.00000000 12.50000000
+1.58064516 2.16129032 10.00000000 10.00000000 12.50000000
+1.58064516 2.45161290 10.00000000 10.00000000 12.50000000
+1.58064516 2.74193548 10.00000000 10.00000000 12.50000000
+1.58064516 3.03225806 10.00000000 10.02032322 12.52040460
+1.58064516 3.32258065 10.00000000 10.21723908 12.72618837
+1.58064516 3.61290323 10.00000000 10.43854143 12.97859532
+1.58064516 3.90322581 10.00000000 10.68860515 13.30323372
+1.58064516 4.19354839 10.00000000 10.98519415 13.75455390
+1.58064516 4.48387097 10.00000000 11.36896201 14.43109544
+1.58064516 4.77419355 10.00000000 11.91319586 15.48909397
+1.58064516 5.06451613 10.00000000 12.68223479 17.02303230
+1.58064516 5.35483871 10.00000000 13.34274407 18.15544945
+1.58064516 5.64516129 10.00000000 13.79246624 18.75419392
+1.58064516 5.93548387 10.00000000 14.13081618 19.12558840
+1.58064516 6.22580645 10.00000000 14.41328213 19.41290031
+1.58064516 6.51612903 10.00000000 14.65879553 19.65878725
+1.58064516 6.80645161 10.00000000 14.87303754 19.87303753
+1.58064516 7.09677419 10.00000000 15.00000000 20.00000000
+1.58064516 7.38709677 10.00000000 15.00000000 20.00000000
+1.58064516 7.67741935 10.00000000 15.00000000 20.00000000
+1.58064516 7.96774194 10.00000000 15.00000000 20.00000000
+1.58064516 8.25806452 10.00000000 15.00000000 20.00000000
+1.58064516 8.54838710 10.00000000 15.00000000 20.00000000
+1.58064516 8.83870968 10.00000000 15.00000000 20.00000000
+1.58064516 9.12903226 10.00000000 15.00000000 20.00000000
+1.58064516 9.41935484 10.00000000 15.00000000 20.00000000
+1.58064516 9.70967742 10.00000000 15.00000000 20.00000000
+1.58064516 10.00000000 10.00000000 15.00000000 20.00000000
+1.87096774 1.00000000 10.00000000 10.00000000 12.50000000
+1.87096774 1.29032258 10.00000000 10.00000000 12.50000000
+1.87096774 1.58064516 10.00000000 10.00000000 12.50000000
+1.87096774 1.87096774 10.00000000 10.00000000 12.50000000
+1.87096774 2.16129032 10.00000000 10.00000000 12.50000000
+1.87096774 2.45161290 10.00000000 10.00000000 12.50000000
+1.87096774 2.74193548 10.00000000 10.00000000 12.50000000
+1.87096774 3.03225806 10.00000000 10.02032322 12.52040460
+1.87096774 3.32258065 10.00000000 10.21723908 12.72618837
+1.87096774 3.61290323 10.00000000 10.43854143 12.97859532
+1.87096774 3.90322581 10.00000000 10.68860515 13.30323372
+1.87096774 4.19354839 10.00000000 10.98519415 13.75455390
+1.87096774 4.48387097 10.00000000 11.36896201 14.43109544
+1.87096774 4.77419355 10.00000000 11.91319586 15.48909397
+1.87096774 5.06451613 10.00000000 12.68223479 17.02303230
+1.87096774 5.35483871 10.00000000 13.34274407 18.15544945
+1.87096774 5.64516129 10.00000000 13.79246624 18.75419392
+1.87096774 5.93548387 10.00000000 14.13081618 19.12558840
+1.87096774 6.22580645 10.00000000 14.41328213 19.41290031
+1.87096774 6.51612903 10.00000000 14.65879553 19.65878725
+1.87096774 6.80645161 10.00000000 14.87303754 19.87303753
+1.87096774 7.09677419 10.00000000 15.00000000 20.00000000
+1.87096774 7.38709677 10.00000000 15.00000000 20.00000000
+1.87096774 7.67741935 10.00000000 15.00000000 20.00000000
+1.87096774 7.96774194 10.00000000 15.00000000 20.00000000
+1.87096774 8.25806452 10.00000000 15.00000000 20.00000000
+1.87096774 8.54838710 10.00000000 15.00000000 20.00000000
+1.87096774 8.83870968 10.00000000 15.00000000 20.00000000
+1.87096774 9.12903226 10.00000000 15.00000000 20.00000000
+1.87096774 9.41935484 10.00000000 15.00000000 20.00000000
+1.87096774 9.70967742 10.00000000 15.00000000 20.00000000
+1.87096774 10.00000000 10.00000000 15.00000000 20.00000000
+2.16129032 1.00000000 10.00000000 10.00000000 12.50000000
+2.16129032 1.29032258 10.00000000 10.00000000 12.50000000
+2.16129032 1.58064516 10.00000000 10.00000000 12.50000000
+2.16129032 1.87096774 10.00000000 10.00000000 12.50000000
+2.16129032 2.16129032 10.00000000 10.00000000 12.50000000
+2.16129032 2.45161290 10.00000000 10.00000000 12.50000000
+2.16129032 2.74193548 10.00000000 10.00000000 12.50000000
+2.16129032 3.03225806 10.00000000 10.02032322 12.52040460
+2.16129032 3.32258065 10.00000000 10.21723908 12.72618837
+2.16129032 3.61290323 10.00000000 10.43854143 12.97859532
+2.16129032 3.90322581 10.00000000 10.68860515 13.30323372
+2.16129032 4.19354839 10.00000000 10.98519415 13.75455390
+2.16129032 4.48387097 10.00000000 11.36896201 14.43109544
+2.16129032 4.77419355 10.00000000 11.91319586 15.48909397
+2.16129032 5.06451613 10.00000000 12.68223479 17.02303230
+2.16129032 5.35483871 10.00000000 13.34274407 18.15544945
+2.16129032 5.64516129 10.00000000 13.79246624 18.75419392
+2.16129032 5.93548387 10.00000000 14.13081618 19.12558840
+2.16129032 6.22580645 10.00000000 14.41328213 19.41290031
+2.16129032 6.51612903 10.00000000 14.65879553 19.65878725
+2.16129032 6.80645161 10.00000000 14.87303754 19.87303753
+2.16129032 7.09677419 10.00000000 15.00000000 20.00000000
+2.16129032 7.38709677 10.00000000 15.00000000 20.00000000
+2.16129032 7.67741935 10.00000000 15.00000000 20.00000000
+2.16129032 7.96774194 10.00000000 15.00000000 20.00000000
+2.16129032 8.25806452 10.00000000 15.00000000 20.00000000
+2.16129032 8.54838710 10.00000000 15.00000000 20.00000000
+2.16129032 8.83870968 10.00000000 15.00000000 20.00000000
+2.16129032 9.12903226 10.00000000 15.00000000 20.00000000
+2.16129032 9.41935484 10.00000000 15.00000000 20.00000000
+2.16129032 9.70967742 10.00000000 15.00000000 20.00000000
+2.16129032 10.00000000 10.00000000 15.00000000 20.00000000
+2.45161290 1.00000000 10.00000000 10.00000000 12.50000000
+2.45161290 1.29032258 10.00000000 10.00000000 12.50000000
+2.45161290 1.58064516 10.00000000 10.00000000 12.50000000
+2.45161290 1.87096774 10.00000000 10.00000000 12.50000000
+2.45161290 2.16129032 10.00000000 10.00000000 12.50000000
+2.45161290 2.45161290 10.00000000 10.00000000 12.50000000
+2.45161290 2.74193548 10.00000000 10.00000000 12.50000000
+2.45161290 3.03225806 10.00000000 10.02032322 12.52040460
+2.45161290 3.32258065 10.00000000 10.21723908 12.72618837
+2.45161290 3.61290323 10.00000000 10.43854143 12.97859532
+2.45161290 3.90322581 10.00000000 10.68860515 13.30323372
+2.45161290 4.19354839 10.00000000 10.98519415 13.75455390
+2.45161290 4.48387097 10.00000000 11.36896201 14.43109544
+2.45161290 4.77419355 10.00000000 11.91319586 15.48909397
+2.45161290 5.06451613 10.00000000 12.68223479 17.02303230
+2.45161290 5.35483871 10.00000000 13.34274407 18.15544945
+2.45161290 5.64516129 10.00000000 13.79246624 18.75419392
+2.45161290 5.93548387 10.00000000 14.13081618 19.12558840
+2.45161290 6.22580645 10.00000000 14.41328213 19.41290031
+2.45161290 6.51612903 10.00000000 14.65879553 19.65878725
+2.45161290 6.80645161 10.00000000 14.87303754 19.87303753
+2.45161290 7.09677419 10.00000000 15.00000000 20.00000000
+2.45161290 7.38709677 10.00000000 15.00000000 20.00000000
+2.45161290 7.67741935 10.00000000 15.00000000 20.00000000
+2.45161290 7.96774194 10.00000000 15.00000000 20.00000000
+2.45161290 8.25806452 10.00000000 15.00000000 20.00000000
+2.45161290 8.54838710 10.00000000 15.00000000 20.00000000
+2.45161290 8.83870968 10.00000000 15.00000000 20.00000000
+2.45161290 9.12903226 10.00000000 15.00000000 20.00000000
+2.45161290 9.41935484 10.00000000 15.00000000 20.00000000
+2.45161290 9.70967742 10.00000000 15.00000000 20.00000000
+2.45161290 10.00000000 10.00000000 15.00000000 20.00000000
+2.74193548 1.00000000 10.00000000 10.00000000 12.50000000
+2.74193548 1.29032258 10.00000000 10.00000000 12.50000000
+2.74193548 1.58064516 10.00000000 10.00000000 12.50000000
+2.74193548 1.87096774 10.00000000 10.00000000 12.50000000
+2.74193548 2.16129032 10.00000000 10.00000000 12.50000000
+2.74193548 2.45161290 10.00000000 10.00000000 12.50000000
+2.74193548 2.74193548 10.00000000 10.00000000 12.50000000
+2.74193548 3.03225806 10.00000000 10.02032322 12.52040460
+2.74193548 3.32258065 10.00000000 10.21723908 12.72618837
+2.74193548 3.61290323 10.00000000 10.43854143 12.97859532
+2.74193548 3.90322581 10.00000000 10.68860515 13.30323372
+2.74193548 4.19354839 10.00000000 10.98519415 13.75455390
+2.74193548 4.48387097 10.00000000 11.36896201 14.43109544
+2.74193548 4.77419355 10.00000000 11.91319586 15.48909397
+2.74193548 5.06451613 10.00000000 12.68223479 17.02303230
+2.74193548 5.35483871 10.00000000 13.34274407 18.15544945
+2.74193548 5.64516129 10.00000000 13.79246624 18.75419392
+2.74193548 5.93548387 10.00000000 14.13081618 19.12558840
+2.74193548 6.22580645 10.00000000 14.41328213 19.41290031
+2.74193548 6.51612903 10.00000000 14.65879553 19.65878725
+2.74193548 6.80645161 10.00000000 14.87303754 19.87303753
+2.74193548 7.09677419 10.00000000 15.00000000 20.00000000
+2.74193548 7.38709677 10.00000000 15.00000000 20.00000000
+2.74193548 7.67741935 10.00000000 15.00000000 20.00000000
+2.74193548 7.96774194 10.00000000 15.00000000 20.00000000
+2.74193548 8.25806452 10.00000000 15.00000000 20.00000000
+2.74193548 8.54838710 10.00000000 15.00000000 20.00000000
+2.74193548 8.83870968 10.00000000 15.00000000 20.00000000
+2.74193548 9.12903226 10.00000000 15.00000000 20.00000000
+2.74193548 9.41935484 10.00000000 15.00000000 20.00000000
+2.74193548 9.70967742 10.00000000 15.00000000 20.00000000
+2.74193548 10.00000000 10.00000000 15.00000000 20.00000000
+3.03225806 1.00000000 10.00000000 10.02056414 12.53036255
+3.03225806 1.29032258 10.00000000 10.02056414 12.53036255
+3.03225806 1.58064516 10.00000000 10.02056414 12.53036255
+3.03225806 1.87096774 10.00000000 10.02056414 12.53036255
+3.03225806 2.16129032 10.00000000 10.02056414 12.53036255
+3.03225806 2.45161290 10.00000000 10.02056414 12.53036255
+3.03225806 2.74193548 10.00000000 10.02056414 12.53036255
+3.03225806 3.03225806 10.00008162 10.04023401 12.54971361
+3.03225806 3.32258065 10.00084536 10.23133043 12.74581753
+3.03225806 3.61290323 10.00166050 10.44709908 12.98846248
+3.03225806 3.90322581 10.00253632 10.69213103 13.30366093
+3.03225806 4.19354839 10.00350696 10.98431132 13.74623534
+3.03225806 4.48387097 10.00465122 11.36442108 14.41531219
+3.03225806 4.77419355 10.00613539 11.90630175 15.46893972
+3.03225806 5.06451613 10.00830466 12.67597755 17.00612582
+3.03225806 5.35483871 10.01079710 13.33923254 18.14567412
+3.03225806 5.64516129 10.01307288 13.79127531 18.74912170
+3.03225806 5.93548387 10.01499275 14.13114438 19.12316822
+3.03225806 6.22580645 10.01659745 14.41445725 19.41211259
+3.03225806 6.51612903 10.01801781 14.66014744 19.65891493
+3.03225806 6.80645161 10.01938833 14.87383528 19.87334753
+3.03225806 7.09677419 10.02032454 15.00000000 20.00000000
+3.03225806 7.38709677 10.02032454 15.00000000 20.00000000
+3.03225806 7.67741935 10.02032454 15.00000000 20.00000000
+3.03225806 7.96774194 10.02032454 15.00000000 20.00000000
+3.03225806 8.25806452 10.02032454 15.00000000 20.00000000
+3.03225806 8.54838710 10.02032454 15.00000000 20.00000000
+3.03225806 8.83870968 10.02032454 15.00000000 20.00000000
+3.03225806 9.12903226 10.02032454 15.00000000 20.00000000
+3.03225806 9.41935484 10.02032454 15.00000000 20.00000000
+3.03225806 9.70967742 10.02032454 15.00000000 20.00000000
+3.03225806 10.00000000 10.02032454 15.00000000 20.00000000
+3.32258065 1.00000000 10.00000000 10.23852600 12.81465712
+3.32258065 1.29032258 10.00000000 10.23852600 12.81465712
+3.32258065 1.58064516 10.00000000 10.23852600 12.81465712
+3.32258065 1.87096774 10.00000000 10.23852600 12.81465712
+3.32258065 2.16129032 10.00000000 10.23852600 12.81465712
+3.32258065 2.45161290 10.00000000 10.23852600 12.81465712
+3.32258065 2.74193548 10.00000000 10.23852600 12.81465712
+3.32258065 3.03225806 10.00081091 10.25216001 12.82509445
+3.32258065 3.32258065 10.00847573 10.39024810 12.94131554
+3.32258065 3.61290323 10.01682656 10.55678831 13.10652832
+3.32258065 3.90322581 10.02600789 10.75843537 13.34992628
+3.32258065 4.19354839 10.03642525 11.01464869 13.72980008
+3.32258065 4.48387097 10.04898564 11.36779630 14.35055538
+3.32258065 4.77419355 10.06563624 11.89543354 15.38280506
+3.32258065 5.06451613 10.09043159 12.66530578 16.93433074
+3.32258065 5.35483871 10.11905829 13.33050784 18.08725853
+3.32258065 5.64516129 10.14531886 13.79087513 18.71123750
+3.32258065 5.93548387 10.16705394 14.13888710 19.10302935
+3.32258065 6.22580645 10.18433380 14.42710664 19.40531141
+3.32258065 6.51612903 10.19847233 14.67287318 19.66004764
+3.32258065 6.80645161 10.21090121 14.88093570 19.87607311
+3.32258065 7.09677419 10.21874952 15.00000000 20.00000000
+3.32258065 7.38709677 10.21874952 15.00000000 20.00000000
+3.32258065 7.67741935 10.21874952 15.00000000 20.00000000
+3.32258065 7.96774194 10.21874952 15.00000000 20.00000000
+3.32258065 8.25806452 10.21874952 15.00000000 20.00000000
+3.32258065 8.54838710 10.21874952 15.00000000 20.00000000
+3.32258065 8.83870968 10.21874952 15.00000000 20.00000000
+3.32258065 9.12903226 10.21874952 15.00000000 20.00000000
+3.32258065 9.41935484 10.21874952 15.00000000 20.00000000
+3.32258065 9.70967742 10.21874952 15.00000000 20.00000000
+3.32258065 10.00000000 10.21874952 15.00000000 20.00000000
+3.61290323 1.00000000 10.00000000 10.50490830 13.12845546
+3.61290323 1.29032258 10.00000000 10.50490830 13.12845546
+3.61290323 1.58064516 10.00000000 10.50490830 13.12845546
+3.61290323 1.87096774 10.00000000 10.50490830 13.12845546
+3.61290323 2.16129032 10.00000000 10.50490830 13.12845546
+3.61290323 2.45161290 10.00000000 10.50490830 13.12845546
+3.61290323 2.74193548 10.00000000 10.50490830 13.12845546
+3.61290323 3.03225806 10.00151654 10.51262673 13.13088541
+3.61290323 3.32258065 10.01600168 10.59992682 13.17930400
+3.61290323 3.61290323 10.03212956 10.72120213 13.28528620
+3.61290323 3.90322581 10.05031902 10.88533698 13.48054126
+3.61290323 4.19354839 10.07154360 11.11425892 13.82721937
+3.61290323 4.48387097 10.09785029 11.45287584 14.43542451
+3.61290323 4.77419355 10.13366827 11.98002190 15.48143735
+3.61290323 5.06451613 10.18719850 12.73374607 17.00406518
+3.61290323 5.35483871 10.24796420 13.36174755 18.08140820
+3.61290323 5.64516129 10.30403654 13.80875389 18.68736063
+3.61290323 5.93548387 10.35025162 14.15521373 19.08606379
+3.61290323 6.22580645 10.38608863 14.44355382 19.39936608
+3.61290323 6.51612903 10.41383257 14.68673503 19.66149620
+3.61290323 6.80645161 10.43623515 14.88800549 19.87887528
+3.61290323 7.09677419 10.44926133 15.00000088 20.00000000
+3.61290323 7.38709677 10.44926133 15.00000088 20.00000000
+3.61290323 7.67741935 10.44926133 15.00000088 20.00000000
+3.61290323 7.96774194 10.44926133 15.00000088 20.00000000
+3.61290323 8.25806452 10.44926133 15.00000088 20.00000000
+3.61290323 8.54838710 10.44926133 15.00000088 20.00000000
+3.61290323 8.83870968 10.44926133 15.00000088 20.00000000
+3.61290323 9.12903226 10.44926133 15.00000088 20.00000000
+3.61290323 9.41935484 10.44926133 15.00000088 20.00000000
+3.61290323 9.70967742 10.44926133 15.00000088 20.00000000
+3.61290323 10.00000000 10.44926133 15.00000088 20.00000000
+3.90322581 1.00000000 10.00000000 10.81017051 13.50482619
+3.90322581 1.29032258 10.00000000 10.81017051 13.50482619
+3.90322581 1.58064516 10.00000000 10.81017051 13.50482619
+3.90322581 1.87096774 10.00000000 10.81017051 13.50482619
+3.90322581 2.16129032 10.00000000 10.81017051 13.50482619
+3.90322581 2.45161290 10.00000000 10.81017051 13.50482619
+3.90322581 2.74193548 10.00000000 10.81017051 13.50482619
+3.90322581 3.03225806 10.00219148 10.81256800 13.49994499
+3.90322581 3.32258065 10.02334161 10.85552124 13.49103677
+3.90322581 3.61290323 10.04741939 10.93971057 13.55528460
+3.90322581 3.90322581 10.07534164 11.07630295 13.72649949
+3.90322581 4.19354839 10.10893601 11.29025424 14.07090979
+3.90322581 4.48387097 10.15193928 11.62903831 14.70330070
+3.90322581 4.77419355 10.21233649 12.16677306 15.79128080
+3.90322581 5.06451613 10.30009318 12.86586763 17.18478750
+3.90322581 5.35483871 10.39754980 13.42561609 18.11553344
+3.90322581 5.64516129 10.48826068 13.84290562 18.67501261
+3.90322581 5.93548387 10.56389908 14.17975972 19.07251531
+3.90322581 6.22580645 10.62276486 14.46381877 19.39494339
+3.90322581 6.51612903 10.66748610 14.70188269 19.66385099
+3.90322581 6.80645161 10.70191101 14.89518965 19.88205071
+3.90322581 7.09677419 10.72100391 15.00002113 20.00000000
+3.90322581 7.38709677 10.72100391 15.00002113 20.00000000
+3.90322581 7.67741935 10.72100391 15.00002113 20.00000000
+3.90322581 7.96774194 10.72100391 15.00002113 20.00000000
+3.90322581 8.25806452 10.72100391 15.00002113 20.00000000
+3.90322581 8.54838710 10.72100391 15.00002113 20.00000000
+3.90322581 8.83870968 10.72100391 15.00002113 20.00000000
+3.90322581 9.12903226 10.72100391 15.00002113 20.00000000
+3.90322581 9.41935484 10.72100391 15.00002113 20.00000000
+3.90322581 9.70967742 10.72100391 15.00002113 20.00000000
+3.90322581 10.00000000 10.72100391 15.00002113 20.00000000
+4.19354839 1.00000000 10.00000000 11.15752390 14.00262973
+4.19354839 1.29032258 10.00000000 11.15752390 14.00262973
+4.19354839 1.58064516 10.00000000 11.15752390 14.00262973
+4.19354839 1.87096774 10.00000000 11.15752390 14.00262973
+4.19354839 2.16129032 10.00000000 11.15752390 14.00262973
+4.19354839 2.45161290 10.00000000 11.15752390 14.00262973
+4.19354839 2.74193548 10.00000000 11.15752390 14.00262973
+4.19354839 3.03225806 10.00284797 11.15550089 13.99105017
+4.19354839 3.32258065 10.03061130 11.16343190 13.93454481
+4.19354839 3.61290323 10.06293737 11.22200777 13.97446418
+4.19354839 3.90322581 10.10150367 11.34453978 14.14653042
+4.19354839 4.19354839 10.14947661 11.55849242 14.51982064
+4.19354839 4.48387097 10.21306769 11.91049442 15.20610247
+4.19354839 4.77419355 10.30455207 12.44702544 16.30551023
+4.19354839 5.06451613 10.42825336 13.03462310 17.41989968
+4.19354839 5.35483871 10.56483051 13.51054329 18.16893632
+4.19354839 5.64516129 10.69399611 13.89010562 18.67059669
+4.19354839 5.93548387 10.80488969 14.21182688 19.06294905
+4.19354839 6.22580645 10.89398583 14.48780444 19.39301254
+4.19354839 6.51612903 10.96315550 14.71842615 19.66783672
+4.19354839 6.80645161 11.01688740 14.90267275 19.88592684
+4.19354839 7.09677419 11.04734052 15.00021055 20.00000000
+4.19354839 7.38709677 11.04734052 15.00021055 20.00000000
+4.19354839 7.67741935 11.04734052 15.00021055 20.00000000
+4.19354839 7.96774194 11.04734052 15.00021055 20.00000000
+4.19354839 8.25806452 11.04734052 15.00021055 20.00000000
+4.19354839 8.54838710 11.04734052 15.00021055 20.00000000
+4.19354839 8.83870968 11.04734052 15.00021055 20.00000000
+4.19354839 9.12903226 11.04734052 15.00021055 20.00000000
+4.19354839 9.41935484 11.04734052 15.00021055 20.00000000
+4.19354839 9.70967742 11.04734052 15.00021055 20.00000000
+4.19354839 10.00000000 11.04734052 15.00021055 20.00000000
+4.48387097 1.00000000 10.00000000 11.56528482 14.70576330
+4.48387097 1.29032258 10.00000000 11.56528482 14.70576330
+4.48387097 1.58064516 10.00000000 11.56528482 14.70576330
+4.48387097 1.87096774 10.00000000 11.56528482 14.70576330
+4.48387097 2.16129032 10.00000000 11.56528482 14.70576330
+4.48387097 2.45161290 10.00000000 11.56528482 14.70576330
+4.48387097 2.74193548 10.00000000 11.56528482 14.70576330
+4.48387097 3.03225806 10.00351833 11.55997110 14.68853149
+4.48387097 3.32258065 10.03814879 11.54406758 14.59669714
+4.48387097 3.61290323 10.07937305 11.59012375 14.63057323
+4.48387097 3.90322581 10.12999914 11.71265167 14.82664243
+4.48387097 4.19354839 10.19514264 11.93798653 15.24939300
+4.48387097 4.48387097 10.28453809 12.29965873 15.97812311
+4.48387097 4.77419355 10.40728869 12.75130857 16.85678574
+4.48387097 5.06451613 10.56626545 13.21039199 17.64813719
+4.48387097 5.35483871 10.74201361 13.60560816 18.22456849
+4.48387097 5.64516129 10.91294483 13.94712330 18.67257728
+4.48387097 5.93548387 11.06666959 14.25051940 19.05879821
+4.48387097 6.22580645 11.19709582 14.51530775 19.39489256
+4.48387097 6.51612903 11.30393014 14.73651306 19.67429340
+4.48387097 6.80645161 11.39171986 14.91090478 19.89084781
+4.48387097 7.09677419 11.44506880 15.00128458 20.00000000
+4.48387097 7.38709677 11.44506880 15.00128458 20.00000000
+4.48387097 7.67741935 11.44506880 15.00128458 20.00000000
+4.48387097 7.96774194 11.44506880 15.00128458 20.00000000
+4.48387097 8.25806452 11.44506880 15.00128458 20.00000000
+4.48387097 8.54838710 11.44506880 15.00128458 20.00000000
+4.48387097 8.83870968 11.44506880 15.00128458 20.00000000
+4.48387097 9.12903226 11.44506880 15.00128458 20.00000000
+4.48387097 9.41935484 11.44506880 15.00128458 20.00000000
+4.48387097 9.70967742 11.44506880 15.00128458 20.00000000
+4.48387097 10.00000000 11.44506880 15.00128458 20.00000000
+4.77419355 1.00000000 10.00000000 12.05898046 15.70102169
+4.77419355 1.29032258 10.00000000 12.05898046 15.70102169
+4.77419355 1.58064516 10.00000000 12.05898046 15.70102169
+4.77419355 1.87096774 10.00000000 12.05898046 15.70102169
+4.77419355 2.16129032 10.00000000 12.05898046 15.70102169
+4.77419355 2.45161290 10.00000000 12.05898046 15.70102169
+4.77419355 2.74193548 10.00000000 12.05898046 15.70102169
+4.77419355 3.03225806 10.00425780 12.05183116 15.68076127
+4.77419355 3.32258065 10.04656050 12.02438408 15.57411145
+4.77419355 3.61290323 10.09802059 12.06833124 15.61725364
+4.77419355 3.90322581 10.16302652 12.19562117 15.84003779
+4.77419355 4.19354839 10.24884203 12.41521338 16.25899815
+4.77419355 4.48387097 10.36281190 12.69904450 16.77664315
+4.77419355 4.77419355 10.51269012 13.02442268 17.31761601
+4.77419355 5.06451613 10.70326374 13.37314904 17.83311892
+4.77419355 5.35483871 10.91644419 13.70398283 18.27798568
+4.77419355 5.64516129 11.13258860 14.01140956 18.68338981
+4.77419355 5.93548387 11.33885271 14.29485387 19.06262803
+4.77419355 6.22580645 11.52611738 14.54611158 19.40221067
+4.77419355 6.51612903 11.69068129 14.75656882 19.68409833
+4.77419355 6.80645161 11.83652379 14.92121904 19.89713492
+4.77419355 7.09677419 11.93184447 15.00571281 20.00000000
+4.77419355 7.38709677 11.93184447 15.00571281 20.00000000
+4.77419355 7.67741935 11.93184447 15.00571281 20.00000000
+4.77419355 7.96774194 11.93184447 15.00571281 20.00000000
+4.77419355 8.25806452 11.93184447 15.00571281 20.00000000
+4.77419355 8.54838710 11.93184447 15.00571281 20.00000000
+4.77419355 8.83870968 11.93184447 15.00571281 20.00000000
+4.77419355 9.12903226 11.93184447 15.00571281 20.00000000
+4.77419355 9.41935484 11.93184447 15.00571281 20.00000000
+4.77419355 9.70967742 11.93184447 15.00571281 20.00000000
+4.77419355 10.00000000 11.93184447 15.00571281 20.00000000
+5.06451613 1.00000000 10.00000000 12.62161977 16.93336867
+5.06451613 1.29032258 10.00000000 12.62161977 16.93336867
+5.06451613 1.58064516 10.00000000 12.62161977 16.93336867
+5.06451613 1.87096774 10.00000000 12.62161977 16.93336867
+5.06451613 2.16129032 10.00000000 12.62161977 16.93336867
+5.06451613 2.45161290 10.00000000 12.62161977 16.93336867
+5.06451613 2.74193548 10.00000000 12.62161977 16.93336867
+5.06451613 3.03225806 10.00514671 12.61436601 16.91498077
+5.06451613 3.32258065 10.05669829 12.58189344 16.81059366
+5.06451613 3.61290323 10.12016954 12.60900573 16.81743639
+5.06451613 3.90322581 10.20030048 12.69329287 16.92465057
+5.06451613 4.19354839 10.30333031 12.82979245 17.11064279
+5.06451613 4.48387097 10.43676106 13.01355965 17.35314038
+5.06451613 4.77419355 10.60858414 13.24246568 17.64074677
+5.06451613 5.06451613 10.82506593 13.51723830 17.97839577
+5.06451613 5.35483871 11.07335436 13.80267877 18.33779748
+5.06451613 5.64516129 11.33833932 14.08082078 18.70901812
+5.06451613 5.93548387 11.60813624 14.34372309 19.07791541
+5.06451613 6.22580645 11.87123458 14.58015261 19.41671660
+5.06451613 6.51612903 12.12014276 14.77981816 19.69800848
+5.06451613 6.80645161 12.35752048 14.93719431 19.90501710
+5.06451613 7.09677419 12.52110295 15.02031920 20.00000000
+5.06451613 7.38709677 12.52110295 15.02031920 20.00000000
+5.06451613 7.67741935 12.52110295 15.02031920 20.00000000
+5.06451613 7.96774194 12.52110295 15.02031920 20.00000000
+5.06451613 8.25806452 12.52110295 15.02031920 20.00000000
+5.06451613 8.54838710 12.52110295 15.02031920 20.00000000
+5.06451613 8.83870968 12.52110295 15.02031920 20.00000000
+5.06451613 9.12903226 12.52110295 15.02031920 20.00000000
+5.06451613 9.41935484 12.52110295 15.02031920 20.00000000
+5.06451613 9.70967742 12.52110295 15.02031920 20.00000000
+5.06451613 10.00000000 12.52110295 15.02031920 20.00000000
+5.35483871 1.00000000 10.00000000 13.01386190 17.72252667
+5.35483871 1.29032258 10.00000000 13.01386190 17.72252667
+5.35483871 1.58064516 10.00000000 13.01386190 17.72252667
+5.35483871 1.87096774 10.00000000 13.01386190 17.72252667
+5.35483871 2.16129032 10.00000000 13.01386190 17.72252667
+5.35483871 2.45161290 10.00000000 13.01386190 17.72252667
+5.35483871 2.74193548 10.00000000 13.01386190 17.72252667
+5.35483871 3.03225806 10.00601495 13.00686969 17.70685129
+5.35483871 3.32258065 10.06634293 12.96547134 17.59385080
+5.35483871 3.61290323 10.14023145 12.96440313 17.53452108
+5.35483871 3.90322581 10.23227056 13.00488842 17.52903392
+5.35483871 4.19354839 10.34858062 13.08810799 17.57595632
+5.35483871 4.48387097 10.49681892 13.21678700 17.67789446
+5.35483871 4.77419355 10.68605152 13.39618613 17.84588275
+5.35483871 5.06451613 10.92582927 13.63255921 18.09900113
+5.35483871 5.35483871 11.20991976 13.89010102 18.40855831
+5.35483871 5.64516129 11.52857074 14.14622502 18.75108786
+5.35483871 5.93548387 11.87259469 14.39188070 19.10579009
+5.35483871 6.22580645 12.23015522 14.61596607 19.43909490
+5.35483871 6.51612903 12.59107968 14.80868432 19.71627593
+5.35483871 6.80645161 12.95594174 14.96716502 19.91453659
+5.35483871 7.09677419 13.21476275 15.06095073 20.00000000
+5.35483871 7.38709677 13.21476275 15.06095073 20.00000000
+5.35483871 7.67741935 13.21476275 15.06095073 20.00000000
+5.35483871 7.96774194 13.21476275 15.06095073 20.00000000
+5.35483871 8.25806452 13.21476275 15.06095073 20.00000000
+5.35483871 8.54838710 13.21476275 15.06095073 20.00000000
+5.35483871 8.83870968 13.21476275 15.06095073 20.00000000
+5.35483871 9.12903226 13.21476275 15.06095073 20.00000000
+5.35483871 9.41935484 13.21476275 15.06095073 20.00000000
+5.35483871 9.70967742 13.21476275 15.06095073 20.00000000
+5.35483871 10.00000000 13.21476275 15.06095073 20.00000000
+5.64516129 1.00000000 10.00000000 13.24478345 18.10948914
+5.64516129 1.29032258 10.00000000 13.24478345 18.10948914
+5.64516129 1.58064516 10.00000000 13.24478345 18.10948914
+5.64516129 1.87096774 10.00000000 13.24478345 18.10948914
+5.64516129 2.16129032 10.00000000 13.24478345 18.10948914
+5.64516129 2.45161290 10.00000000 13.24478345 18.10948914
+5.64516129 2.74193548 10.00000000 13.24478345 18.10948914
+5.64516129 3.03225806 10.00676630 13.23777415 18.09507267
+5.64516129 3.32258065 10.07445919 13.19087287 17.97991142
+5.64516129 3.61290323 10.15668214 13.17534466 17.89493493
+5.64516129 3.90322581 10.25790645 13.19448141 17.84556990
+5.64516129 4.19354839 10.38436340 13.25231438 17.83870593
+5.64516129 4.48387097 10.54440886 13.35439086 17.88514140
+5.64516129 4.77419355 10.74903309 13.50842487 18.00199210
+5.64516129 5.06451613 11.01198391 13.72314620 18.21285792
+5.64516129 5.35483871 11.33358994 13.96248512 18.48921917
+5.64516129 5.64516129 11.71006848 14.20295570 18.80628061
+5.64516129 5.93548387 12.13699441 14.43664044 19.14441571
+5.64516129 6.22580645 12.60472073 14.65433972 19.46851033
+5.64516129 6.51612903 13.10163256 14.84960699 19.73841715
+5.64516129 6.80645161 13.62372773 15.02857701 19.92548914
+5.64516129 7.09677419 13.99614692 15.15882564 20.00000000
+5.64516129 7.38709677 13.99614692 15.15882564 20.00000000
+5.64516129 7.67741935 13.99614692 15.15882564 20.00000000
+5.64516129 7.96774194 13.99614692 15.15882564 20.00000000
+5.64516129 8.25806452 13.99614692 15.15882564 20.00000000
+5.64516129 8.54838710 13.99614692 15.15882564 20.00000000
+5.64516129 8.83870968 13.99614692 15.15882564 20.00000000
+5.64516129 9.12903226 13.99614692 15.15882564 20.00000000
+5.64516129 9.41935484 13.99614692 15.15882564 20.00000000
+5.64516129 9.70967742 13.99614692 15.15882564 20.00000000
+5.64516129 10.00000000 13.99614692 15.15882564 20.00000000
+5.93548387 1.00000000 10.00000000 13.40120867 18.33397089
+5.93548387 1.29032258 10.00000000 13.40120867 18.33397089
+5.93548387 1.58064516 10.00000000 13.40120867 18.33397089
+5.93548387 1.87096774 10.00000000 13.40120867 18.33397089
+5.93548387 2.16129032 10.00000000 13.40120867 18.33397089
+5.93548387 2.45161290 10.00000000 13.40120867 18.33397089
+5.93548387 2.74193548 10.00000000 13.40120867 18.33397089
+5.93548387 3.03225806 10.00744380 13.39407329 18.32019470
+5.93548387 3.32258065 10.08152139 13.34352984 18.20598565
+5.93548387 3.61290323 10.17060647 13.32009277 18.11340822
+5.93548387 3.90322581 10.27923715 13.32771096 18.04912878
+5.93548387 4.19354839 10.41406163 13.37128448 18.02197505
+5.93548387 4.48387097 10.58455108 13.45730945 18.04456687
+5.93548387 4.77419355 10.80408104 13.59471590 18.13562017
+5.93548387 5.06451613 11.09099369 13.79430829 18.32113067
+5.93548387 5.35483871 11.45208902 14.02065538 18.57338072
+5.93548387 5.64516129 11.89026400 14.25075408 18.86869733
+5.93548387 5.93548387 12.40745964 14.47898935 19.19011429
+5.93548387 6.22580645 12.99767141 14.70031056 19.50287840
+5.93548387 6.51612903 13.64712779 14.91660867 19.76327022
+5.93548387 6.80645161 14.34097951 15.15349351 19.93748440
+5.93548387 7.09677419 14.82768590 15.36421869 20.00000000
+5.93548387 7.38709677 14.82768590 15.36421869 20.00000000
+5.93548387 7.67741935 14.82768590 15.36421869 20.00000000
+5.93548387 7.96774194 14.82768590 15.36421869 20.00000000
+5.93548387 8.25806452 14.82768590 15.36421869 20.00000000
+5.93548387 8.54838710 14.82768590 15.36421869 20.00000000
+5.93548387 8.83870968 14.82768590 15.36421869 20.00000000
+5.93548387 9.12903226 14.82768590 15.36421869 20.00000000
+5.93548387 9.41935484 14.82768590 15.36421869 20.00000000
+5.93548387 9.70967742 14.82768590 15.36421869 20.00000000
+5.93548387 10.00000000 14.82768590 15.36421869 20.00000000
+6.22580645 1.00000000 10.00000000 13.52140723 18.49028183
+6.22580645 1.29032258 10.00000000 13.52140723 18.49028183
+6.22580645 1.58064516 10.00000000 13.52140723 18.49028183
+6.22580645 1.87096774 10.00000000 13.52140723 18.49028183
+6.22580645 2.16129032 10.00000000 13.52140723 18.49028183
+6.22580645 2.45161290 10.00000000 13.52140723 18.49028183
+6.22580645 2.74193548 10.00000000 13.52140723 18.49028183
+6.22580645 3.03225806 10.00810302 13.51414064 18.47696951
+6.22580645 3.32258065 10.08815300 13.46083531 18.36487771
+6.22580645 3.61290323 10.18335204 13.43182492 18.27056725
+6.22580645 3.90322581 10.29853084 13.43120310 18.20072122
+6.22580645 4.19354839 10.44105662 13.46414597 18.16435180
+6.22580645 4.48387097 10.62187043 13.53764372 18.17434053
+6.22580645 4.77419355 10.85711240 13.66162818 18.24992950
+6.22580645 5.06451613 11.17010593 13.84903800 18.41864073
+6.22580645 5.35483871 11.57429140 14.06601569 18.65350731
+6.22580645 5.64516129 12.07969940 14.29125163 18.93164466
+6.22580645 5.93548387 12.69488978 14.52340191 19.23816286
+6.22580645 6.22580645 13.41621771 14.76582129 19.53932638
+6.22580645 6.51612903 14.22291873 15.03682794 19.78943564
+6.22580645 6.80645161 15.07877121 15.39191301 19.95021830
+6.22580645 7.09677419 15.65721613 15.73541361 20.00000000
+6.22580645 7.38709677 15.65721613 15.73541361 20.00000000
+6.22580645 7.67741935 15.65721613 15.73541361 20.00000000
+6.22580645 7.96774194 15.65721613 15.73541361 20.00000000
+6.22580645 8.25806452 15.65721613 15.73541361 20.00000000
+6.22580645 8.54838710 15.65721613 15.73541361 20.00000000
+6.22580645 8.83870968 15.65721613 15.73541361 20.00000000
+6.22580645 9.12903226 15.65721613 15.73541361 20.00000000
+6.22580645 9.41935484 15.65721613 15.73541361 20.00000000
+6.22580645 9.70967742 15.65721613 15.73541361 20.00000000
+6.22580645 10.00000000 15.65721613 15.73541361 20.00000000
+6.51612903 1.00000000 10.00000000 13.61972094 18.60880619
+6.51612903 1.29032258 10.00000000 13.61972094 18.60880619
+6.51612903 1.58064516 10.00000000 13.61972094 18.60880619
+6.51612903 1.87096774 10.00000000 13.61972094 18.60880619
+6.51612903 2.16129032 10.00000000 13.61972094 18.60880619
+6.51612903 2.45161290 10.00000000 13.61972094 18.60880619
+6.51612903 2.74193548 10.00000000 13.61972094 18.60880619
+6.51612903 3.03225806 10.00879607 13.61234668 18.59585828
+6.51612903 3.32258065 10.09491449 13.55680524 18.48591333
+6.51612903 3.61290323 10.19606794 13.52317278 18.39148132
+6.51612903 3.90322581 10.31763361 13.51550375 18.31902161
+6.51612903 4.19354839 10.46805711 13.53910437 18.27742836
+6.51612903 4.48387097 10.66021718 13.60138870 18.27957680
+6.51612903 4.77419355 10.91360186 13.71334196 18.34495215
+6.51612903 5.06451613 11.25720210 13.89035326 18.50206810
+6.51612903 5.35483871 11.71156099 14.10154931 18.72464991
+6.51612903 5.64516129 12.29365018 14.32963573 18.99000850
+6.51612903 5.93548387 13.01651193 14.58179014 19.28447671
+6.51612903 6.22580645 13.87303537 14.87722915 19.57556793
+6.51612903 6.51612903 14.82531306 15.25898022 19.81660791
+6.51612903 6.80645161 15.80446772 15.80314051 19.96387362
+6.51612903 7.09677419 16.43160099 16.29997299 20.00000000
+6.51612903 7.38709677 16.43160099 16.29997299 20.00000000
+6.51612903 7.67741935 16.43160099 16.29997299 20.00000000
+6.51612903 7.96774194 16.43160099 16.29997299 20.00000000
+6.51612903 8.25806452 16.43160099 16.29997299 20.00000000
+6.51612903 8.54838710 16.43160099 16.29997299 20.00000000
+6.51612903 8.83870968 16.43160099 16.29997299 20.00000000
+6.51612903 9.12903226 16.43160099 16.29997299 20.00000000
+6.51612903 9.41935484 16.43160099 16.29997299 20.00000000
+6.51612903 9.70967742 16.43160099 16.29997299 20.00000000
+6.51612903 10.00000000 16.43160099 16.29997299 20.00000000
+6.80645161 1.00000000 10.00000000 13.70214059 18.70056855
+6.80645161 1.29032258 10.00000000 13.70214059 18.70056855
+6.80645161 1.58064516 10.00000000 13.70214059 18.70056855
+6.80645161 1.87096774 10.00000000 13.70214059 18.70056855
+6.80645161 2.16129032 10.00000000 13.70214059 18.70056855
+6.80645161 2.45161290 10.00000000 13.70214059 18.70056855
+6.80645161 2.74193548 10.00000000 13.70214059 18.70056855
+6.80645161 3.03225806 10.00956688 13.69469565 18.68788903
+6.80645161 3.32258065 10.10223923 13.63745767 18.57975796
+6.80645161 3.61290323 10.20959709 13.59997149 18.48577395
+6.80645161 3.90322581 10.33793179 13.58608880 18.41208791
+6.80645161 4.19354839 10.49735957 13.60114711 18.36739388
+6.80645161 4.48387097 10.70355023 13.65298813 18.36446614
+6.80645161 4.77419355 10.98045881 13.75389532 18.42285704
+6.80645161 5.06451613 11.36399277 13.92258835 18.57166481
+6.80645161 5.35483871 11.88233270 14.13399003 18.78543130
+6.80645161 5.64516129 12.55749197 14.38001472 19.04156376
+6.80645161 5.93548387 13.40037073 14.68481595 19.32760098
+6.80645161 6.22580645 14.38806526 15.09217911 19.61310066
+6.80645161 6.51612903 15.45207816 15.66063766 19.84876184
+6.80645161 6.80645161 16.48822744 16.42159603 19.97852673
+6.80645161 7.09677419 17.11075039 17.00762602 20.00000000
+6.80645161 7.38709677 17.11075039 17.00762602 20.00000000
+6.80645161 7.67741935 17.11075039 17.00762602 20.00000000
+6.80645161 7.96774194 17.11075039 17.00762602 20.00000000
+6.80645161 8.25806452 17.11075039 17.00762602 20.00000000
+6.80645161 8.54838710 17.11075039 17.00762602 20.00000000
+6.80645161 8.83870968 17.11075039 17.00762602 20.00000000
+6.80645161 9.12903226 17.11075039 17.00762602 20.00000000
+6.80645161 9.41935484 17.11075039 17.00762602 20.00000000
+6.80645161 9.70967742 17.11075039 17.00762602 20.00000000
+6.80645161 10.00000000 17.11075039 17.00762602 20.00000000
+7.09677419 1.00000000 10.00000000 13.75000000 18.75000000
+7.09677419 1.29032258 10.00000000 13.75000000 18.75000000
+7.09677419 1.58064516 10.00000000 13.75000000 18.75000000
+7.09677419 1.87096774 10.00000000 13.75000000 18.75000000
+7.09677419 2.16129032 10.00000000 13.75000000 18.75000000
+7.09677419 2.45161290 10.00000000 13.75000000 18.75000000
+7.09677419 2.74193548 10.00000000 13.75000000 18.75000000
+7.09677419 3.03225806 10.01014215 13.74253652 18.73745586
+7.09677419 3.32258065 10.10759368 13.68455725 18.63042380
+7.09677419 3.61290323 10.21937858 13.64503060 18.53708695
+7.09677419 3.90322581 10.35276814 13.62755769 18.46331909
+7.09677419 4.19354839 10.51962543 13.63742744 18.41759948
+7.09677419 4.48387097 10.73840842 13.68281858 18.41253579
+7.09677419 4.77419355 11.03721734 13.77727807 18.46758374
+7.09677419 5.06451613 11.45766304 13.94303282 18.61200965
+7.09677419 5.35483871 12.03283452 14.16229115 18.82112467
+7.09677419 5.64516129 12.78467382 14.43913152 19.07300014
+7.09677419 5.93548387 13.71462338 14.81596996 19.35739569
+7.09677419 6.22580645 14.77874402 15.35015506 19.64585006
+7.09677419 6.51612903 15.88319867 16.07541438 19.87869941
+7.09677419 6.80645161 16.90953845 16.93241475 19.98661180
+7.09677419 7.09677419 17.50000000 17.50000000 20.00000000
+7.09677419 7.38709677 17.50000000 17.50000000 20.00000000
+7.09677419 7.67741935 17.50000000 17.50000000 20.00000000
+7.09677419 7.96774194 17.50000000 17.50000000 20.00000000
+7.09677419 8.25806452 17.50000000 17.50000000 20.00000000
+7.09677419 8.54838710 17.50000000 17.50000000 20.00000000
+7.09677419 8.83870968 17.50000000 17.50000000 20.00000000
+7.09677419 9.12903226 17.50000000 17.50000000 20.00000000
+7.09677419 9.41935484 17.50000000 17.50000000 20.00000000
+7.09677419 9.70967742 17.50000000 17.50000000 20.00000000
+7.09677419 10.00000000 17.50000000 17.50000000 20.00000000
+7.38709677 1.00000000 10.00000000 13.75000000 18.75000000
+7.38709677 1.29032258 10.00000000 13.75000000 18.75000000
+7.38709677 1.58064516 10.00000000 13.75000000 18.75000000
+7.38709677 1.87096774 10.00000000 13.75000000 18.75000000
+7.38709677 2.16129032 10.00000000 13.75000000 18.75000000
+7.38709677 2.45161290 10.00000000 13.75000000 18.75000000
+7.38709677 2.74193548 10.00000000 13.75000000 18.75000000
+7.38709677 3.03225806 10.01014215 13.74253652 18.73745586
+7.38709677 3.32258065 10.10759368 13.68455725 18.63042380
+7.38709677 3.61290323 10.21937858 13.64503060 18.53708695
+7.38709677 3.90322581 10.35276814 13.62755769 18.46331909
+7.38709677 4.19354839 10.51962543 13.63742744 18.41759948
+7.38709677 4.48387097 10.73840842 13.68281858 18.41253579
+7.38709677 4.77419355 11.03721734 13.77727807 18.46758374
+7.38709677 5.06451613 11.45766304 13.94303282 18.61200965
+7.38709677 5.35483871 12.03283452 14.16229115 18.82112467
+7.38709677 5.64516129 12.78467382 14.43913152 19.07300014
+7.38709677 5.93548387 13.71462338 14.81596996 19.35739569
+7.38709677 6.22580645 14.77874402 15.35015506 19.64585006
+7.38709677 6.51612903 15.88319867 16.07541438 19.87869941
+7.38709677 6.80645161 16.90953845 16.93241475 19.98661180
+7.38709677 7.09677419 17.50000000 17.50000000 20.00000000
+7.38709677 7.38709677 17.50000000 17.50000000 20.00000000
+7.38709677 7.67741935 17.50000000 17.50000000 20.00000000
+7.38709677 7.96774194 17.50000000 17.50000000 20.00000000
+7.38709677 8.25806452 17.50000000 17.50000000 20.00000000
+7.38709677 8.54838710 17.50000000 17.50000000 20.00000000
+7.38709677 8.83870968 17.50000000 17.50000000 20.00000000
+7.38709677 9.12903226 17.50000000 17.50000000 20.00000000
+7.38709677 9.41935484 17.50000000 17.50000000 20.00000000
+7.38709677 9.70967742 17.50000000 17.50000000 20.00000000
+7.38709677 10.00000000 17.50000000 17.50000000 20.00000000
+7.67741935 1.00000000 10.00000000 13.75000000 18.75000000
+7.67741935 1.29032258 10.00000000 13.75000000 18.75000000
+7.67741935 1.58064516 10.00000000 13.75000000 18.75000000
+7.67741935 1.87096774 10.00000000 13.75000000 18.75000000
+7.67741935 2.16129032 10.00000000 13.75000000 18.75000000
+7.67741935 2.45161290 10.00000000 13.75000000 18.75000000
+7.67741935 2.74193548 10.00000000 13.75000000 18.75000000
+7.67741935 3.03225806 10.01014215 13.74253652 18.73745586
+7.67741935 3.32258065 10.10759368 13.68455725 18.63042380
+7.67741935 3.61290323 10.21937858 13.64503060 18.53708695
+7.67741935 3.90322581 10.35276814 13.62755769 18.46331909
+7.67741935 4.19354839 10.51962543 13.63742744 18.41759948
+7.67741935 4.48387097 10.73840842 13.68281858 18.41253579
+7.67741935 4.77419355 11.03721734 13.77727807 18.46758374
+7.67741935 5.06451613 11.45766304 13.94303282 18.61200965
+7.67741935 5.35483871 12.03283452 14.16229115 18.82112467
+7.67741935 5.64516129 12.78467382 14.43913152 19.07300014
+7.67741935 5.93548387 13.71462338 14.81596996 19.35739569
+7.67741935 6.22580645 14.77874402 15.35015506 19.64585006
+7.67741935 6.51612903 15.88319867 16.07541438 19.87869941
+7.67741935 6.80645161 16.90953845 16.93241475 19.98661180
+7.67741935 7.09677419 17.50000000 17.50000000 20.00000000
+7.67741935 7.38709677 17.50000000 17.50000000 20.00000000
+7.67741935 7.67741935 17.50000000 17.50000000 20.00000000
+7.67741935 7.96774194 17.50000000 17.50000000 20.00000000
+7.67741935 8.25806452 17.50000000 17.50000000 20.00000000
+7.67741935 8.54838710 17.50000000 17.50000000 20.00000000
+7.67741935 8.83870968 17.50000000 17.50000000 20.00000000
+7.67741935 9.12903226 17.50000000 17.50000000 20.00000000
+7.67741935 9.41935484 17.50000000 17.50000000 20.00000000
+7.67741935 9.70967742 17.50000000 17.50000000 20.00000000
+7.67741935 10.00000000 17.50000000 17.50000000 20.00000000
+7.96774194 1.00000000 10.00000000 13.75000000 18.75000000
+7.96774194 1.29032258 10.00000000 13.75000000 18.75000000
+7.96774194 1.58064516 10.00000000 13.75000000 18.75000000
+7.96774194 1.87096774 10.00000000 13.75000000 18.75000000
+7.96774194 2.16129032 10.00000000 13.75000000 18.75000000
+7.96774194 2.45161290 10.00000000 13.75000000 18.75000000
+7.96774194 2.74193548 10.00000000 13.75000000 18.75000000
+7.96774194 3.03225806 10.01014215 13.74253652 18.73745586
+7.96774194 3.32258065 10.10759368 13.68455725 18.63042380
+7.96774194 3.61290323 10.21937858 13.64503060 18.53708695
+7.96774194 3.90322581 10.35276814 13.62755769 18.46331909
+7.96774194 4.19354839 10.51962543 13.63742744 18.41759948
+7.96774194 4.48387097 10.73840842 13.68281858 18.41253579
+7.96774194 4.77419355 11.03721734 13.77727807 18.46758374
+7.96774194 5.06451613 11.45766304 13.94303282 18.61200965
+7.96774194 5.35483871 12.03283452 14.16229115 18.82112467
+7.96774194 5.64516129 12.78467382 14.43913152 19.07300014
+7.96774194 5.93548387 13.71462338 14.81596996 19.35739569
+7.96774194 6.22580645 14.77874402 15.35015506 19.64585006
+7.96774194 6.51612903 15.88319867 16.07541438 19.87869941
+7.96774194 6.80645161 16.90953845 16.93241475 19.98661180
+7.96774194 7.09677419 17.50000000 17.50000000 20.00000000
+7.96774194 7.38709677 17.50000000 17.50000000 20.00000000
+7.96774194 7.67741935 17.50000000 17.50000000 20.00000000
+7.96774194 7.96774194 17.50000000 17.50000000 20.00000000
+7.96774194 8.25806452 17.50000000 17.50000000 20.00000000
+7.96774194 8.54838710 17.50000000 17.50000000 20.00000000
+7.96774194 8.83870968 17.50000000 17.50000000 20.00000000
+7.96774194 9.12903226 17.50000000 17.50000000 20.00000000
+7.96774194 9.41935484 17.50000000 17.50000000 20.00000000
+7.96774194 9.70967742 17.50000000 17.50000000 20.00000000
+7.96774194 10.00000000 17.50000000 17.50000000 20.00000000
+8.25806452 1.00000000 10.00000000 13.75000000 18.75000000
+8.25806452 1.29032258 10.00000000 13.75000000 18.75000000
+8.25806452 1.58064516 10.00000000 13.75000000 18.75000000
+8.25806452 1.87096774 10.00000000 13.75000000 18.75000000
+8.25806452 2.16129032 10.00000000 13.75000000 18.75000000
+8.25806452 2.45161290 10.00000000 13.75000000 18.75000000
+8.25806452 2.74193548 10.00000000 13.75000000 18.75000000
+8.25806452 3.03225806 10.01014215 13.74253652 18.73745586
+8.25806452 3.32258065 10.10759368 13.68455725 18.63042380
+8.25806452 3.61290323 10.21937858 13.64503060 18.53708695
+8.25806452 3.90322581 10.35276814 13.62755769 18.46331909
+8.25806452 4.19354839 10.51962543 13.63742744 18.41759948
+8.25806452 4.48387097 10.73840842 13.68281858 18.41253579
+8.25806452 4.77419355 11.03721734 13.77727807 18.46758374
+8.25806452 5.06451613 11.45766304 13.94303282 18.61200965
+8.25806452 5.35483871 12.03283452 14.16229115 18.82112467
+8.25806452 5.64516129 12.78467382 14.43913152 19.07300014
+8.25806452 5.93548387 13.71462338 14.81596996 19.35739569
+8.25806452 6.22580645 14.77874402 15.35015506 19.64585006
+8.25806452 6.51612903 15.88319867 16.07541438 19.87869941
+8.25806452 6.80645161 16.90953845 16.93241475 19.98661180
+8.25806452 7.09677419 17.50000000 17.50000000 20.00000000
+8.25806452 7.38709677 17.50000000 17.50000000 20.00000000
+8.25806452 7.67741935 17.50000000 17.50000000 20.00000000
+8.25806452 7.96774194 17.50000000 17.50000000 20.00000000
+8.25806452 8.25806452 17.50000000 17.50000000 20.00000000
+8.25806452 8.54838710 17.50000000 17.50000000 20.00000000
+8.25806452 8.83870968 17.50000000 17.50000000 20.00000000
+8.25806452 9.12903226 17.50000000 17.50000000 20.00000000
+8.25806452 9.41935484 17.50000000 17.50000000 20.00000000
+8.25806452 9.70967742 17.50000000 17.50000000 20.00000000
+8.25806452 10.00000000 17.50000000 17.50000000 20.00000000
+8.54838710 1.00000000 10.00000000 13.75000000 18.75000000
+8.54838710 1.29032258 10.00000000 13.75000000 18.75000000
+8.54838710 1.58064516 10.00000000 13.75000000 18.75000000
+8.54838710 1.87096774 10.00000000 13.75000000 18.75000000
+8.54838710 2.16129032 10.00000000 13.75000000 18.75000000
+8.54838710 2.45161290 10.00000000 13.75000000 18.75000000
+8.54838710 2.74193548 10.00000000 13.75000000 18.75000000
+8.54838710 3.03225806 10.01014215 13.74253652 18.73745586
+8.54838710 3.32258065 10.10759368 13.68455725 18.63042380
+8.54838710 3.61290323 10.21937858 13.64503060 18.53708695
+8.54838710 3.90322581 10.35276814 13.62755769 18.46331909
+8.54838710 4.19354839 10.51962543 13.63742744 18.41759948
+8.54838710 4.48387097 10.73840842 13.68281858 18.41253579
+8.54838710 4.77419355 11.03721734 13.77727807 18.46758374
+8.54838710 5.06451613 11.45766304 13.94303282 18.61200965
+8.54838710 5.35483871 12.03283452 14.16229115 18.82112467
+8.54838710 5.64516129 12.78467382 14.43913152 19.07300014
+8.54838710 5.93548387 13.71462338 14.81596996 19.35739569
+8.54838710 6.22580645 14.77874402 15.35015506 19.64585006
+8.54838710 6.51612903 15.88319867 16.07541438 19.87869941
+8.54838710 6.80645161 16.90953845 16.93241475 19.98661180
+8.54838710 7.09677419 17.50000000 17.50000000 20.00000000
+8.54838710 7.38709677 17.50000000 17.50000000 20.00000000
+8.54838710 7.67741935 17.50000000 17.50000000 20.00000000
+8.54838710 7.96774194 17.50000000 17.50000000 20.00000000
+8.54838710 8.25806452 17.50000000 17.50000000 20.00000000
+8.54838710 8.54838710 17.50000000 17.50000000 20.00000000
+8.54838710 8.83870968 17.50000000 17.50000000 20.00000000
+8.54838710 9.12903226 17.50000000 17.50000000 20.00000000
+8.54838710 9.41935484 17.50000000 17.50000000 20.00000000
+8.54838710 9.70967742 17.50000000 17.50000000 20.00000000
+8.54838710 10.00000000 17.50000000 17.50000000 20.00000000
+8.83870968 1.00000000 10.00000000 13.75000000 18.75000000
+8.83870968 1.29032258 10.00000000 13.75000000 18.75000000
+8.83870968 1.58064516 10.00000000 13.75000000 18.75000000
+8.83870968 1.87096774 10.00000000 13.75000000 18.75000000
+8.83870968 2.16129032 10.00000000 13.75000000 18.75000000
+8.83870968 2.45161290 10.00000000 13.75000000 18.75000000
+8.83870968 2.74193548 10.00000000 13.75000000 18.75000000
+8.83870968 3.03225806 10.01014215 13.74253652 18.73745586
+8.83870968 3.32258065 10.10759368 13.68455725 18.63042380
+8.83870968 3.61290323 10.21937858 13.64503060 18.53708695
+8.83870968 3.90322581 10.35276814 13.62755769 18.46331909
+8.83870968 4.19354839 10.51962543 13.63742744 18.41759948
+8.83870968 4.48387097 10.73840842 13.68281858 18.41253579
+8.83870968 4.77419355 11.03721734 13.77727807 18.46758374
+8.83870968 5.06451613 11.45766304 13.94303282 18.61200965
+8.83870968 5.35483871 12.03283452 14.16229115 18.82112467
+8.83870968 5.64516129 12.78467382 14.43913152 19.07300014
+8.83870968 5.93548387 13.71462338 14.81596996 19.35739569
+8.83870968 6.22580645 14.77874402 15.35015506 19.64585006
+8.83870968 6.51612903 15.88319867 16.07541438 19.87869941
+8.83870968 6.80645161 16.90953845 16.93241475 19.98661180
+8.83870968 7.09677419 17.50000000 17.50000000 20.00000000
+8.83870968 7.38709677 17.50000000 17.50000000 20.00000000
+8.83870968 7.67741935 17.50000000 17.50000000 20.00000000
+8.83870968 7.96774194 17.50000000 17.50000000 20.00000000
+8.83870968 8.25806452 17.50000000 17.50000000 20.00000000
+8.83870968 8.54838710 17.50000000 17.50000000 20.00000000
+8.83870968 8.83870968 17.50000000 17.50000000 20.00000000
+8.83870968 9.12903226 17.50000000 17.50000000 20.00000000
+8.83870968 9.41935484 17.50000000 17.50000000 20.00000000
+8.83870968 9.70967742 17.50000000 17.50000000 20.00000000
+8.83870968 10.00000000 17.50000000 17.50000000 20.00000000
+9.12903226 1.00000000 10.00000000 13.75000000 18.75000000
+9.12903226 1.29032258 10.00000000 13.75000000 18.75000000
+9.12903226 1.58064516 10.00000000 13.75000000 18.75000000
+9.12903226 1.87096774 10.00000000 13.75000000 18.75000000
+9.12903226 2.16129032 10.00000000 13.75000000 18.75000000
+9.12903226 2.45161290 10.00000000 13.75000000 18.75000000
+9.12903226 2.74193548 10.00000000 13.75000000 18.75000000
+9.12903226 3.03225806 10.01014215 13.74253652 18.73745586
+9.12903226 3.32258065 10.10759368 13.68455725 18.63042380
+9.12903226 3.61290323 10.21937858 13.64503060 18.53708695
+9.12903226 3.90322581 10.35276814 13.62755769 18.46331909
+9.12903226 4.19354839 10.51962543 13.63742744 18.41759948
+9.12903226 4.48387097 10.73840842 13.68281858 18.41253579
+9.12903226 4.77419355 11.03721734 13.77727807 18.46758374
+9.12903226 5.06451613 11.45766304 13.94303282 18.61200965
+9.12903226 5.35483871 12.03283452 14.16229115 18.82112467
+9.12903226 5.64516129 12.78467382 14.43913152 19.07300014
+9.12903226 5.93548387 13.71462338 14.81596996 19.35739569
+9.12903226 6.22580645 14.77874402 15.35015506 19.64585006
+9.12903226 6.51612903 15.88319867 16.07541438 19.87869941
+9.12903226 6.80645161 16.90953845 16.93241475 19.98661180
+9.12903226 7.09677419 17.50000000 17.50000000 20.00000000
+9.12903226 7.38709677 17.50000000 17.50000000 20.00000000
+9.12903226 7.67741935 17.50000000 17.50000000 20.00000000
+9.12903226 7.96774194 17.50000000 17.50000000 20.00000000
+9.12903226 8.25806452 17.50000000 17.50000000 20.00000000
+9.12903226 8.54838710 17.50000000 17.50000000 20.00000000
+9.12903226 8.83870968 17.50000000 17.50000000 20.00000000
+9.12903226 9.12903226 17.50000000 17.50000000 20.00000000
+9.12903226 9.41935484 17.50000000 17.50000000 20.00000000
+9.12903226 9.70967742 17.50000000 17.50000000 20.00000000
+9.12903226 10.00000000 17.50000000 17.50000000 20.00000000
+9.41935484 1.00000000 10.00000000 13.75000000 18.75000000
+9.41935484 1.29032258 10.00000000 13.75000000 18.75000000
+9.41935484 1.58064516 10.00000000 13.75000000 18.75000000
+9.41935484 1.87096774 10.00000000 13.75000000 18.75000000
+9.41935484 2.16129032 10.00000000 13.75000000 18.75000000
+9.41935484 2.45161290 10.00000000 13.75000000 18.75000000
+9.41935484 2.74193548 10.00000000 13.75000000 18.75000000
+9.41935484 3.03225806 10.01014215 13.74253652 18.73745586
+9.41935484 3.32258065 10.10759368 13.68455725 18.63042380
+9.41935484 3.61290323 10.21937858 13.64503060 18.53708695
+9.41935484 3.90322581 10.35276814 13.62755769 18.46331909
+9.41935484 4.19354839 10.51962543 13.63742744 18.41759948
+9.41935484 4.48387097 10.73840842 13.68281858 18.41253579
+9.41935484 4.77419355 11.03721734 13.77727807 18.46758374
+9.41935484 5.06451613 11.45766304 13.94303282 18.61200965
+9.41935484 5.35483871 12.03283452 14.16229115 18.82112467
+9.41935484 5.64516129 12.78467382 14.43913152 19.07300014
+9.41935484 5.93548387 13.71462338 14.81596996 19.35739569
+9.41935484 6.22580645 14.77874402 15.35015506 19.64585006
+9.41935484 6.51612903 15.88319867 16.07541438 19.87869941
+9.41935484 6.80645161 16.90953845 16.93241475 19.98661180
+9.41935484 7.09677419 17.50000000 17.50000000 20.00000000
+9.41935484 7.38709677 17.50000000 17.50000000 20.00000000
+9.41935484 7.67741935 17.50000000 17.50000000 20.00000000
+9.41935484 7.96774194 17.50000000 17.50000000 20.00000000
+9.41935484 8.25806452 17.50000000 17.50000000 20.00000000
+9.41935484 8.54838710 17.50000000 17.50000000 20.00000000
+9.41935484 8.83870968 17.50000000 17.50000000 20.00000000
+9.41935484 9.12903226 17.50000000 17.50000000 20.00000000
+9.41935484 9.41935484 17.50000000 17.50000000 20.00000000
+9.41935484 9.70967742 17.50000000 17.50000000 20.00000000
+9.41935484 10.00000000 17.50000000 17.50000000 20.00000000
+9.70967742 1.00000000 10.00000000 13.75000000 18.75000000
+9.70967742 1.29032258 10.00000000 13.75000000 18.75000000
+9.70967742 1.58064516 10.00000000 13.75000000 18.75000000
+9.70967742 1.87096774 10.00000000 13.75000000 18.75000000
+9.70967742 2.16129032 10.00000000 13.75000000 18.75000000
+9.70967742 2.45161290 10.00000000 13.75000000 18.75000000
+9.70967742 2.74193548 10.00000000 13.75000000 18.75000000
+9.70967742 3.03225806 10.01014215 13.74253652 18.73745586
+9.70967742 3.32258065 10.10759368 13.68455725 18.63042380
+9.70967742 3.61290323 10.21937858 13.64503060 18.53708695
+9.70967742 3.90322581 10.35276814 13.62755769 18.46331909
+9.70967742 4.19354839 10.51962543 13.63742744 18.41759948
+9.70967742 4.48387097 10.73840842 13.68281858 18.41253579
+9.70967742 4.77419355 11.03721734 13.77727807 18.46758374
+9.70967742 5.06451613 11.45766304 13.94303282 18.61200965
+9.70967742 5.35483871 12.03283452 14.16229115 18.82112467
+9.70967742 5.64516129 12.78467382 14.43913152 19.07300014
+9.70967742 5.93548387 13.71462338 14.81596996 19.35739569
+9.70967742 6.22580645 14.77874402 15.35015506 19.64585006
+9.70967742 6.51612903 15.88319867 16.07541438 19.87869941
+9.70967742 6.80645161 16.90953845 16.93241475 19.98661180
+9.70967742 7.09677419 17.50000000 17.50000000 20.00000000
+9.70967742 7.38709677 17.50000000 17.50000000 20.00000000
+9.70967742 7.67741935 17.50000000 17.50000000 20.00000000
+9.70967742 7.96774194 17.50000000 17.50000000 20.00000000
+9.70967742 8.25806452 17.50000000 17.50000000 20.00000000
+9.70967742 8.54838710 17.50000000 17.50000000 20.00000000
+9.70967742 8.83870968 17.50000000 17.50000000 20.00000000
+9.70967742 9.12903226 17.50000000 17.50000000 20.00000000
+9.70967742 9.41935484 17.50000000 17.50000000 20.00000000
+9.70967742 9.70967742 17.50000000 17.50000000 20.00000000
+9.70967742 10.00000000 17.50000000 17.50000000 20.00000000
+10.00000000 1.00000000 10.00000000 13.75000000 18.75000000
+10.00000000 1.29032258 10.00000000 13.75000000 18.75000000
+10.00000000 1.58064516 10.00000000 13.75000000 18.75000000
+10.00000000 1.87096774 10.00000000 13.75000000 18.75000000
+10.00000000 2.16129032 10.00000000 13.75000000 18.75000000
+10.00000000 2.45161290 10.00000000 13.75000000 18.75000000
+10.00000000 2.74193548 10.00000000 13.75000000 18.75000000
+10.00000000 3.03225806 10.01014215 13.74253652 18.73745586
+10.00000000 3.32258065 10.10759368 13.68455725 18.63042380
+10.00000000 3.61290323 10.21937858 13.64503060 18.53708695
+10.00000000 3.90322581 10.35276814 13.62755769 18.46331909
+10.00000000 4.19354839 10.51962543 13.63742744 18.41759948
+10.00000000 4.48387097 10.73840842 13.68281858 18.41253579
+10.00000000 4.77419355 11.03721734 13.77727807 18.46758374
+10.00000000 5.06451613 11.45766304 13.94303282 18.61200965
+10.00000000 5.35483871 12.03283452 14.16229115 18.82112467
+10.00000000 5.64516129 12.78467382 14.43913152 19.07300014
+10.00000000 5.93548387 13.71462338 14.81596996 19.35739569
+10.00000000 6.22580645 14.77874402 15.35015506 19.64585006
+10.00000000 6.51612903 15.88319867 16.07541438 19.87869941
+10.00000000 6.80645161 16.90953845 16.93241475 19.98661180
+10.00000000 7.09677419 17.50000000 17.50000000 20.00000000
+10.00000000 7.38709677 17.50000000 17.50000000 20.00000000
+10.00000000 7.67741935 17.50000000 17.50000000 20.00000000
+10.00000000 7.96774194 17.50000000 17.50000000 20.00000000
+10.00000000 8.25806452 17.50000000 17.50000000 20.00000000
+10.00000000 8.54838710 17.50000000 17.50000000 20.00000000
+10.00000000 8.83870968 17.50000000 17.50000000 20.00000000
+10.00000000 9.12903226 17.50000000 17.50000000 20.00000000
+10.00000000 9.41935484 17.50000000 17.50000000 20.00000000
+10.00000000 9.70967742 17.50000000 17.50000000 20.00000000
+10.00000000 10.00000000 17.50000000 17.50000000 20.00000000
diff --git a/examples/takagi-sugeno/octave/sugeno_tip_calculator.fll b/examples/takagi-sugeno/octave/sugeno_tip_calculator.fll
new file mode 100644
index 0000000..611d6eb
--- /dev/null
+++ b/examples/takagi-sugeno/octave/sugeno_tip_calculator.fll
@@ -0,0 +1,59 @@
+Engine: Sugeno-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: CheapTip
+ enabled: true
+ range: 5.000 25.000
+ accumulation: none
+ defuzzifier: WeightedAverage TakagiSugeno
+ default: nan
+ lock-previous: false
+ lock-range: false
+ term: Low Constant 10.000
+ term: Medium Constant 15.000
+ term: High Constant 20.000
+OutputVariable: AverageTip
+ enabled: true
+ range: 5.000 25.000
+ accumulation: none
+ defuzzifier: WeightedAverage TakagiSugeno
+ default: nan
+ lock-previous: false
+ lock-range: false
+ term: Low Constant 10.000
+ term: Medium Constant 15.000
+ term: High Constant 20.000
+OutputVariable: GenerousTip
+ enabled: true
+ range: 5.000 25.000
+ accumulation: none
+ defuzzifier: WeightedAverage TakagiSugeno
+ default: nan
+ lock-previous: false
+ lock-range: false
+ term: Low Constant 10.000
+ term: Medium Constant 15.000
+ term: High Constant 20.000
+RuleBlock:
+ enabled: true
+ conjunction: EinsteinProduct
+ disjunction: none
+ activation: none
+ rule: if FoodQuality is extremely Bad and Service is extremely Bad then CheapTip is extremely Low and AverageTip is very Low and GenerousTip is Low
+ rule: if FoodQuality is Good and Service is extremely Bad then CheapTip is Low and AverageTip is Low and GenerousTip is Medium
+ rule: if FoodQuality is very Good and Service is very Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is High
+ rule: if FoodQuality is Bad and Service is Bad then CheapTip is Low and AverageTip is Low and GenerousTip is Medium
+ rule: if FoodQuality is Good and Service is Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is High
+ rule: if FoodQuality is extremely Good and Service is Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is very High
+ rule: if FoodQuality is Bad and Service is Good then CheapTip is Low and AverageTip is Medium and GenerousTip is High
+ rule: if FoodQuality is Good and Service is Good then CheapTip is Medium and AverageTip is Medium and GenerousTip is very High
+ rule: if FoodQuality is very Bad and Service is very Good then CheapTip is Low and AverageTip is Medium and GenerousTip is High
+ rule: if FoodQuality is very very Good and Service is very very Good then CheapTip is High and AverageTip is very High and GenerousTip is extremely High \ No newline at end of file
diff --git a/examples/takagi-sugeno/octave/sugeno_tip_calculator.java b/examples/takagi-sugeno/octave/sugeno_tip_calculator.java
new file mode 100644
index 0000000..939649e
--- /dev/null
+++ b/examples/takagi-sugeno/octave/sugeno_tip_calculator.java
@@ -0,0 +1,96 @@
+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 sugeno_tip_calculator{
+public static void main(String[] args){
+Engine engine = new Engine();
+engine.setName("Sugeno-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("CheapTip");
+outputVariable1.setRange(5.000, 25.000);
+outputVariable1.fuzzyOutput().setAccumulation(null);
+outputVariable1.setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable1.setDefaultValue(Double.NaN);
+outputVariable1.setLockPreviousOutputValue(false);
+outputVariable1.setLockOutputValueInRange(false);
+outputVariable1.addTerm(new Constant("Low", 10.000));
+outputVariable1.addTerm(new Constant("Medium", 15.000));
+outputVariable1.addTerm(new Constant("High", 20.000));
+engine.addOutputVariable(outputVariable1);
+
+OutputVariable outputVariable2 = new OutputVariable();
+outputVariable2.setEnabled(true);
+outputVariable2.setName("AverageTip");
+outputVariable2.setRange(5.000, 25.000);
+outputVariable2.fuzzyOutput().setAccumulation(null);
+outputVariable2.setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable2.setDefaultValue(Double.NaN);
+outputVariable2.setLockPreviousOutputValue(false);
+outputVariable2.setLockOutputValueInRange(false);
+outputVariable2.addTerm(new Constant("Low", 10.000));
+outputVariable2.addTerm(new Constant("Medium", 15.000));
+outputVariable2.addTerm(new Constant("High", 20.000));
+engine.addOutputVariable(outputVariable2);
+
+OutputVariable outputVariable3 = new OutputVariable();
+outputVariable3.setEnabled(true);
+outputVariable3.setName("GenerousTip");
+outputVariable3.setRange(5.000, 25.000);
+outputVariable3.fuzzyOutput().setAccumulation(null);
+outputVariable3.setDefuzzifier(new WeightedAverage("TakagiSugeno"));
+outputVariable3.setDefaultValue(Double.NaN);
+outputVariable3.setLockPreviousOutputValue(false);
+outputVariable3.setLockOutputValueInRange(false);
+outputVariable3.addTerm(new Constant("Low", 10.000));
+outputVariable3.addTerm(new Constant("Medium", 15.000));
+outputVariable3.addTerm(new Constant("High", 20.000));
+engine.addOutputVariable(outputVariable3);
+
+RuleBlock ruleBlock = new RuleBlock();
+ruleBlock.setEnabled(true);
+ruleBlock.setName("");
+ruleBlock.setConjunction(new EinsteinProduct());
+ruleBlock.setDisjunction(null);
+ruleBlock.setActivation(null);
+ruleBlock.addRule(Rule.parse("if FoodQuality is extremely Bad and Service is extremely Bad then CheapTip is extremely Low and AverageTip is very Low and GenerousTip is Low", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is Good and Service is extremely Bad then CheapTip is Low and AverageTip is Low and GenerousTip is Medium", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is very Good and Service is very Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is High", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is Bad and Service is Bad then CheapTip is Low and AverageTip is Low and GenerousTip is Medium", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is Good and Service is Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is High", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is extremely Good and Service is Bad then CheapTip is Low and AverageTip is Medium and GenerousTip is very High", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is Bad and Service is Good then CheapTip is Low and AverageTip is Medium and GenerousTip is High", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is Good and Service is Good then CheapTip is Medium and AverageTip is Medium and GenerousTip is very High", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is very Bad and Service is very Good then CheapTip is Low and AverageTip is Medium and GenerousTip is High", engine));
+ruleBlock.addRule(Rule.parse("if FoodQuality is very very Good and Service is very very Good then CheapTip is High and AverageTip is very High and GenerousTip is extremely High", engine));
+engine.addRuleBlock(ruleBlock);
+
+
+}
+}