Next: , Previous: , Up: Software Evolution Library Index   [Contents][Index]


A.25 SOFTWARE-EVOLUTION-LIBRARY/SOFTWARE/ASM

Class: asm [sel/sw/asm]

Class precedence list: asm, simple, software, oid-object, file-w-attributes, file, standard-object, slot-object, t

General assembler backend used to manipulate ".s" text assembler.

Class: asm-range [sel/sw/asm]

Class precedence list: asm-range, sw-range, asm, simple, software, oid-object, file-w-attributes, file, standard-object, slot-object, t

Memory efficient alternative to ‘asm’ mixing in ‘range’. Some operations on the genome are more complicated but very large memory savings may be realized by using this class.

Class: asm-replace-operand [sel/sw/asm]

Class precedence list: asm-replace-operand, simple-mutation, mutation, oid-object, standard-object, slot-object, t

Slots:

Select two instructions, and replace an operand in the first with an operand in the second.

Variable: *asm-mutation-types* [sel/sw/asm]

Add asm mutations with probability 1/N, where n is the number of possible mutations (simple plus asm mutations).

Function: asm-nth-instruction [sel/sw/asm] asm n

Extract the string portion of the Nth instruction from the genome of ASM.

Function: asm-split-instruction [sel/sw/asm] instruction

Split instruction string on white space or commas. Return a list of strings.

Generic Function: homologous-crossover [sel/sw/asm] software-a software-b

Crossover at a similar point in both software objects. After picking a crossover point in software-a, try to find the same point in software-b. Ideally, if A and b are identical, ‘homologous-crossover’ always results in a genome that matches those of A and b.

Method: homologous-crossover [sel/sw/asm] (a asm-heap) (b asm-heap)

Crossover at a similar point in asm objects, A and b. After picking a crossover point in A, try to find the same point in b. If A and b are identical, this implementation always results in a genome that matches those of A and b.

Method: homologous-crossover [sel/sw/asm] (a asm) (b asm)

Crossover at a similar point in asm objects, A and b. After picking a crossover point in A, try to find the same point in b. If A and b are identical, this implementation always results in a genome that matches those of A and b.


Next: , Previous: , Up: Software Evolution Library Index   [Contents][Index]