Package 'wickradarwin'

Title: Evolutionary Strategy Search over Wickra Strategy Specs
Description: R bindings for wickra-darwin over its C ABI hub: a seeded EvolveSpec drives a byte-identical genetic search over Wickra strategy specs - the same protocol as the CLI and every other binding.
Authors: kingchenc [aut, cre]
Maintainer: kingchenc <[email protected]>
License: MIT + file LICENSE | Apache License 2.0
Version: 0.2.0
Built: 2026-10-07 09:00:16 UTC
Source: https://github.com/wickra-lib/wickra-darwin

Help Index


Apply a command JSON and return the resulting response JSON.

Description

Apply a command JSON and return the resulting response JSON.

Usage

wkdarwin_command(darwin, cmd_json)

Arguments

darwin

A search handle from [wkdarwin_new()].

cmd_json

A command JSON string ('set_spec', 'evolve', 'best', 'version').

Value

The response as a JSON string.


Build a search handle from a spec JSON.

Description

Build a search handle from a spec JSON.

Usage

wkdarwin_new(spec_json)

Arguments

spec_json

An 'EvolveSpec' JSON string ('""' defers configuration to a later 'set_spec' command).

Value

A 'wickra_darwin' handle (an external pointer).


The wickra-darwin library version.

Description

The wickra-darwin library version.

Usage

wkdarwin_version()

Value

A version string.