Home > Mateda2.0 > functions > protein > CallBackTracking.m

# CallBackTracking

## PURPOSE

## SYNOPSIS

function[s] = CallBackTracking(InitConf)

## DESCRIPTION

## CROSS-REFERENCE INFORMATION

This function calls:

This function is called by:

## SOURCE CODE

    0001 function[s] = CallBackTracking(InitConf)
    0002
    0003 sizeChain = size(InitConf,2);
    0004
    0005 Pos =  NewInitPop(sizeChain);
    0006
    0007   for i=1:sizeChain
    0008    moves(i,:) = randperm(3)-1;
    0009   end
    0010
    0011  s = [];
    0012  sizeChain = size(InitConf,2);
    0013
    0014  [solutionFound,s,Pos] = NewBackTracking(InitConf,sizeChain,Pos,1,moves,s);
    0015
    0016
    0017
    0018
    0019