Skip to content

Support lambda functions as objective functions #3

Description

@sffc

The objective function is required to be fn(&Particle, usize, &Vec<usize>) -> f64, but it would be more flexible if it would be impl Fn, so that my objective function can read from local variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions