liveBook · Manning

Binary string

As explained in Optimization Algorithms: AI techniques for design, planning, and control problems

A bit string is an ordered sequence whose elements are binary digits.

A binary string is an ordered sequence of bits, with each position holding either 0 or 1. Optimization methods use it to represent candidate solutions in a finite binary search space. section 9.3 section 7.3.2

Encoding a ticket price

A binary genetic algorithm represents ticket prices from 75.0 to 235.0 with 0.1 precision using 8-bit chromosomes. Example encodings include 01001101 for 77 and 11001011 for 203. The required length follows range size, precision, and logarithms base 2. section 7.3.2

Binary particle swarm optimization updates each bit using its current value, fitness-related information, neighboring particles’ best bit values, and a probability derived from a sigmoid-transformed velocity. section 9.3

Figure 7.8 Binary encoding

Use the binary-encoding figure to inspect how candidate values become bit strings. section 7.3.2

How Optimization Algorithms: AI techniques for design, planning, and control problems covers it

How deep it goes
Defines bitwise representation, explains fixed-length numeric encoding, and describes probabilistic BPSO updates.
Examples
Uses ticket-price chromosomes such as 01001101 and 11001011, plus bitwise particle updates in BPSO.
What it assumes
Assumes basic optimization vocabulary while deriving required bit length from bounds and desired precision.
What you can do after
Apply it via binary genetic algorithms or binary particle swarm optimization to encode and search candidate solutions.
How it connects
Connects binary encoding with genetic algorithms, particle swarm optimization, feature selection, and permutation encoding.

Also explained in

Compare how 5 books explain binary string →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Optimization Algorithms: AI techniques for design, planning, and control problems. The section links point to the parts of the book it draws on.