Opened 5 years ago

Closed 4 years ago

#1906 closed enhancement (done)

SubScopesCounter should be able to assign the number of counted subscopes

Reported by: jkarder Owned by: jkarder
Priority: medium Milestone: HeuristicLab 3.3.8
Component: Operators Version: 3.3.8
Keywords: Cc:

Description

The SubScopesCounter per default accumulates the number of counted subscopes to the ValueParameter. It should be possible to set a parameter to choose between accumulation and assignment.

Change History (12)

comment:1 Changed 5 years ago by jkarder

r8357:

  • added parameter
  • adapted logic

comment:2 Changed 5 years ago by jkarder

  • Status changed from new to accepted

comment:3 Changed 5 years ago by jkarder

r8358: added parameter description

comment:4 Changed 5 years ago by jkarder

  • Owner changed from jkarder to ascheibe
  • Status changed from accepted to reviewing

comment:5 follow-up: Changed 5 years ago by jkarder

r8361: added backwards compatibility indication

comment:6 in reply to: ↑ 5 ; follow-up: Changed 5 years ago by abeham

Replying to jkarder:

r8361: added backwards compatibility indication

trunk\tools\HL3Snippets contains some useful snippets that you might want to use, among them one that prepares the tag and region for backwards compatibility.

With r8363 I also added live templates to be used with ReSharper 7. I also added an Operator class as a file template. If you have ReSharper 7 you can right-click on a C# project and choose "Add>New from Template>HeuristicLab Operator" and you should get a nice stub (if you don't see it there, choose "More..." and add it to the quick list). Note that live templates require only a single *tab* for activation (snippets require two)

comment:7 in reply to: ↑ 6 Changed 5 years ago by jkarder

Replying to abeham:

Replying to jkarder:

r8361: added backwards compatibility indication

trunk\tools\HL3Snippets contains some useful snippets that you might want to use, among them one that prepares the tag and region for backwards compatibility.

With r8363 I also added live templates to be used with ReSharper 7. I also added an Operator class as a file template. If you have ReSharper 7 you can right-click on a C# project and choose "Add>New from Template>HeuristicLab Operator" and you should get a nice stub (if you don't see it there, choose "More..." and add it to the quick list). Note that live templates require only a single *tab* for activation (snippets require two)

Oh, I must have missed the BackwardsCompatibility snippet. Thanks for the hint and the live templates.

comment:8 Changed 5 years ago by jkarder

r8364: added parameter description

comment:9 Changed 5 years ago by ascheibe

  • Owner changed from ascheibe to jkarder
  • Status changed from reviewing to readytorelease

I have reviewed the changes, looks good, thanks for implementing this!

comment:10 Changed 5 years ago by jkarder

Thanks.

comment:11 Changed 5 years ago by jkarder

r8386:

  • adapted item description
  • adapted parameter description

comment:12 Changed 4 years ago by swagner

  • Resolution set to done
  • Status changed from readytorelease to closed
  • Version changed from 3.3.7 to 3.3.8
Note: See TracTickets for help on using tickets.