Core Concepts
This paper presents an open-source Python framework, PYNS, designed to simplify the manipulation of symbolic representations of neutrosophic sets and mappings between them.
Abstract
The paper introduces a Python framework, PYNS, for working with neutrosophic sets and mappings. The framework consists of three main classes:
NSuniverse: Represents the universe set on which neutrosophic sets are defined. It provides methods to create, access, and compare universe sets.
NSset: Represents a single-valued neutrosophic set (SVN-set) defined on a universe set. It offers methods to create, modify, and perform operations on neutrosophic sets, such as union, intersection, complement, and difference.
NSmapping: Represents a mapping between two neutrosophic sets, allowing the calculation of neutrosophic images and counterimages.
The framework is designed to be flexible, user-friendly, and extensible. It supports various input formats for defining universe sets and neutrosophic sets, and provides overloaded operators for common set operations. The authors have released the framework under an open-source license to encourage collaboration and further development in the field of neutrosophic set theory.