Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libGA.py
blob: 61c154fa54372507854653a1c5b7ee0f6e8f4483 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'''
The GA library for Q-A system
'''

import math 

CHROMOSOMES = ['*','-','+','/','log','sin','cos','e']

class OperatorTree:
    __init__(self, datas):
    for data in datas:
        success = data[0]
        noofqtags = data[1]
        difference = data[2]

    ConstrucTree(self,