<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "file://D:\PROGRA~1\scilab-4.0\man/manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>sba</TITLE>
  <TYPE>Scilab Function  </TYPE>
  <DATE>4-Sep-2006</DATE>
  <SHORT_DESCRIPTION name="sba">create the derivational BA model with arbitrary attractiveness, fitness and nonlinear attachment probability.</SHORT_DESCRIPTION>

  <CALLING_SEQUENCE>
  <CALLING_SEQUENCE_ITEM>[a,b] = sba(M0,M,T,ASSORT,K0,EXP)</CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>

  <PARAM>
  <PARAM_INDENT>

    <PARAM_ITEM>
    <PARAM_NAME>M0</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : integer
     	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>M</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : integer
     	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>T</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : integer
     	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>ASSORT</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : attractiveness matrix
     	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>K0</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : fitness matrix
     	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>EXP</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : nonlinear attachment exponent
     	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>a</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : row vector of the numbers of the tail nodes of the graph (its size is the number of edges of the graph)
     	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>

    <PARAM_ITEM>
    <PARAM_NAME>b</PARAM_NAME>
    <PARAM_DESCRIPTION>
	    <SP>
		    : row vector of the numbers of the head nodes of the graph (its size is the number of edges of the graph)
     	    </SP>
    </PARAM_DESCRIPTION>
    </PARAM_ITEM>
  </PARAM_INDENT>
  </PARAM>
 
  <DESCRIPTION>
     <DESCRIPTION_INDENT>
     <DESCRIPTION_ITEM>
	     <P>
		     Recently scholars purposed several new parameters such as attractiveness, fitness and nonlinear attachment probability in order to simulate the different statistic results of networks. People could define the matrix assort, k0, with different rules, generate the Dorogovtsev -Mendes-Samukhin (DMS) model, Krapivsky model, Bianconi-Barabasi (BB) model.
	     </P>
     </DESCRIPTION_ITEM>
     </DESCRIPTION_INDENT>
  </DESCRIPTION>

  <EXAMPLE><![CDATA[
	assort=ones(1,10000);
	k0=zeros(1,10000);
	[a b]=sba(6,4,9994,assort,k0,2);
  ]]></EXAMPLE>

  <SEE_ALSO>
    <SEE_ALSO_ITEM> <LINK> er</LINK> </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM> <LINK> ws</LINK> </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM> <LINK> ba</LINK> </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM> <LINK> bbv</LINK> </SEE_ALSO_ITEM>
  </SEE_ALSO>

  <AUTHORS>
    <AUTHORS_ITEM label='Wubo'>
    </AUTHORS_ITEM>
  </AUTHORS>
</MAN>
