Skip to content

fsr 2.0.0

Latest
Compare
Choose a tag to compare
@accarniel accarniel released this 04 Jul 20:19
· 8 commits to main since this release
33843df

Major changes

  • Defined a new hierarchical structure for defining the spatial plateau data types:
    • Added two new spatial plateau data types: pcollection and pcomposition.
    • Redefined the class named pgeometry.
    • Defined three spatial plateau data types that are subclasses of pgeometry: ppoint, pline, and pregion.
    • Specified validity methods for all classes according to the rules of the Spatial Plateau Algebra.
    • These modifications are based on the pull requests performed by Pedro V. A. B. de Venâncio, who is added as a contributor of the package fsr in the current version (#26 - @pedbrgs and #27 - @pedbrgs).
  • Added spa_get_type() (based on the pull request #27 - @pedbrgs).
  • Updated and improved functions that create pgeometry objects: create_pgeometry() and create_empty_pgeometry() (#27 - @pedbrgs).
  • Improved the creation of components by redesigning create_component(). component_from_sfg() is deprecated (it will be removed in the next version of the package).
  • Enhanced fsr_plot() and added the support for pcollection and pcomposition objects.
  • Added two new external functions that handle pcollection objects: spa_flatten() and pcollection_to_pcomposition() (based on the pull request #31 - @pedbrgs). They are also used by fuzzy geometric set operations on pcollection objects.
  • Enhanced fuzzy geometric set operations, which can now handle different data types as input (based on the pull request #31 - @pedbrgs).
  • Deprecated spa_common_points() - use spa_intersection() to get the common points of two plateau line objects.
  • Deprecated spa_boundary_pregion() - use spa_boundary to get the boundary of a spatial plateau object.
  • Enhanced general operations (e.g., spa_core(), spa_boundary()) to deal with the new spatial plateau data types (based on the pull request #31 - @pedbrgs).
  • Added three new general operations: spa_alpha_cut(), spa_strict_alpha_cut(), and spa_range().
  • Removed the dependency of packages FuzzyR and utils.

Minor changes

  • Better organization of the source code by creating more R scripts and rearranging the functions and classes in them.
  • Updated format.pgeometry() to include a parameter that determines the maximum number of characters that are shown.
  • Updated spa_pwkt() to deal with the new classes (based on the pull request #26 - @pedbrgs).
  • Updated spa_is_empty() to deal with the new classes (based on the pull request #26 - @pedbrgs).
  • Updated as_tibble() to deal with the new classes.
  • Extended fuzzy numerical operations to deal with the new classes (based on the pull request #30 - @pedbrgs).
  • Updated fuzzy topological relationships due to the changes in other operators (based on the pull request #31 - @pedbrgs).
  • Minor changes in functions of the construction module to use improved operations when manipulating spatial plateau objects.

Change in the list of authors

  • Added Pedro Vinícius Almeida Borges de Venâncio (@pedbrgs) as a contributor to the fsr.
  • We are grateful for the contributions of Felippe Galdino (@ocfgaldino) and Juliana Strieder Philippsen (@JulianaStrieder) in the first version of the package (1.0.0, 1.0.1, and 1.0.2). Their participation in the package was concluded; thus, they were removed from the list of authors in this version of the package, which includes several changes, improvements, and new methods.