CrossClj

0.1.0 docs

SourceDocs



RECENT
    VARS
    build
    calculate-velocity
    transform

    « Index of all namespaces of this project

    (build {:keys [dimensions fitness-fn], :as swarm} & {:keys [vel-mult pos-mult swarm-pos-mult initial-vel-mult], :or {vel-mult 0.999, pos-mult 1.5, swarm-pos-mult 1.5, initial-vel-mult 0.1}})
    Private
    (calculate-velocity particle best-particle vel-mult pos-mult swarm-pos-mult)
    (transform {:keys [velocity result best-result vel-mult pos-mult swarm-pos-mult], :as particle} {:keys [dimensions best-particle fitness-fn comparator-fn], :as swarm})