Skip to content

Question on cache library #44

@huanfachen

Description

@huanfachen

I am working on a districting problem, which aims at the optimal segmentation of an area into several parts. The evaluation of each part is very time-consuming, so I want to use a cache to speed up the evaluation, which is different from EvaluateMoveCache. What I want is a cache from a List to a double value, and another cache from a List to an integer value. The capacity of the cache should be no more than 2000.

I am using jamesframework to solve this problem. I have two questions here: 1. should the caches be associated with the problem-specific Objective class, as the evaluation is part of the Objective class? 2. do you have any suggestion on the usable cache library? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions