Skip to content

Commit

Permalink
BF/OA: Enhancements of stream processing #1000
Browse files Browse the repository at this point in the history
  • Loading branch information
detlefarend committed May 29, 2024
1 parent 30576c3 commit 503876c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/mlpro/oa/streams/tasks/clusteranalyzers/clusters/basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@
## -- 2024-05-22 1.5.0 DA Refactoring
## -- 2024-05-25 1.6.0 DA Aliases ClusterId, MembershipValue
## -- 2024-05-27 1.7.0 DA Refactoring
## -- 2024-05-29 1.8.0 DA Class Cluster: order of colors changed
## -------------------------------------------------------------------------------------------------

"""
Ver. 1.7.0 (2024-05-27)
Ver. 1.8.0 (2024-05-29)
This module provides templates for clusters to be used in cluster analyzer algorithms.
Expand Down Expand Up @@ -70,6 +71,7 @@ class Cluster (Id, Properties):
List of property definitions.
p_visualize : bool
Boolean switch for visualisation. Default = False.
"""

C_PLOT_ACTIVE = True
Expand All @@ -79,7 +81,16 @@ class Cluster (Id, Properties):
PlotSettings.C_VIEW_ND ]
C_PLOT_DEFAULT_VIEW = PlotSettings.C_VIEW_ND

C_CLUSTER_COLORS = [ 'blue', 'orange', 'green', 'red', 'purple', 'brown', 'pink', 'gray', 'olive', 'cyan' ]
C_CLUSTER_COLORS = [ 'brown',
'olive',
'orange',
'green',
'red',
'gray',
'purple',
'pink',
'cyan',
'blue' ]

## -------------------------------------------------------------------------------------------------
def __init__( self,
Expand Down

0 comments on commit 503876c

Please sign in to comment.