Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

DNA project #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

DNA project #36

wants to merge 1 commit into from

Conversation

Dastar
Copy link

@Dastar Dastar commented Oct 31, 2012

By me=)

By me=)
//Copy of original DNA to check if mutate was successed
NSMutableArray *countOfChangedArrays = [[NSMutableArray alloc] init];
int point;
for (int i = 0; i < percent; i++) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Количесто элементов массиве DNA может быть больше или меньше ста. Заменить надо столько элементов, чему равно количество процентов от размера массива DNA (x = DNA.count/100 * percent)

В общем сейчас не программа считает сколько эелементов нужно заменить.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants