Skip to content

Commit

Permalink
OA: Design updates on cluster analysis #1015
Browse files Browse the repository at this point in the history
  • Loading branch information
detlefarend committed Jul 13, 2024
1 parent 39fc903 commit fb9e8d4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
9 changes: 6 additions & 3 deletions src/mlpro/bf/math/geometry/hypercuboid.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
## -- 2024-06-05 1.0.1 DA Stabilization of Hypercuboid.set()
## -- 2024-06-26 1.1.0 DA Refactoring of attribute color
## -- 2024-06-30 1.2.0 DA Refactoring of method Hypercuboid.set()
## -- 2024-07-13 1.3.0 DA Refactoring
## -------------------------------------------------------------------------------------------------

"""
Ver. 1.2.0 (2024-06-30)
Ver. 1.3.0 (2024-07-13)
This module provides a property class for the geometric shape 'hypercuboid'.
Expand Down Expand Up @@ -73,13 +74,15 @@ def __init__( self,
p_derivative_order_max: int = 0,
p_value_prev : ValuePrev = False,
p_properties : PropertyDefinitions = [],
p_visualize: bool = False ):
p_visualize: bool = False,
**p_kwargs ):

super().__init__( p_name = p_name,
p_derivative_order_max = p_derivative_order_max,
p_value_prev = p_value_prev,
p_properties = p_properties,
p_visualize = p_visualize )
p_visualize = p_visualize,
**p_kwargs )

self.alpha = self.C_PLOT_ALPHA
self.fill = self.C_PLOT_FILL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
## -- 2024-05-31 0.4.0 DA Improved the stability of the plot methods
## -- 2024-06-13 0.5.0 DA New property definitions cprop_centroid_prev*
## -- 2024-06-26 0.6.0 DA Refactoring
## -- 2024-07-13 0.7.0 DA Refactoring
## -------------------------------------------------------------------------------------------------

"""
Ver. 0.6.0 (2024-06-26)
Ver. 0.7.0 (2024-07-13)
This module provides ...
Expand Down Expand Up @@ -53,8 +54,12 @@ class Centroid (Point, Id):
Name of the property
p_derivative_order_max : DerivativeOrderMax
Maximum order of auto-generated derivatives (numeric properties only).
p_value_prev : bool
If True, the previous value is stored in value_prev whenever value is updated.
p_visualize : bool
Boolean switch for visualisation. Default = False.
p_kwargs : dict
Keyword parameters.
"""

C_PLOT_ACTIVE = True
Expand All @@ -69,13 +74,15 @@ def __init__( self,
p_name : str,
p_derivative_order_max : DerivativeOrderMax = 0,
p_value_prev : ValuePrev = False,
p_visualize : bool = False ):
p_visualize : bool = False,
**p_kwargs ):

Point.__init__( self,
p_name = p_name,
p_derivative_order_max = p_derivative_order_max,
p_value_prev = p_value_prev,
p_visualize = p_visualize )
p_visualize = p_visualize,
**p_kwargs )

Id.__init__( self, p_id = 0 )

Expand Down

0 comments on commit fb9e8d4

Please sign in to comment.