Free cookie consent management tool by TermsFeed Policy Generator

Opened 5 years ago

#3034 new defect

Mutable implementation of solution encodings

Reported by: abeham Owned by:
Priority: medium Milestone: HeuristicLab 3.3.x Backlog
Component: General Version:
Keywords: Cc:

Description

Vectorized solution encodings (BinaryVector, Permutation, ...) are currently derived from ValueTypeArray<T>. This is inefficient as additional data is stored (elementNames list) and a lot of changed events are fired. Thus using the indexers may be quite inefficient.

It would be preferable to have solutions as immutable data structures and thus avoid the change handling. In addition, only the necessary data should be stored.

Change History (0)

Note: See TracTickets for help on using tickets.