Home > Mateda2.0 > otherfiles > FindListCard.m

FindListCard

PURPOSE ^

[ListFactorsCard] = FindListCard(ListFactors,Card)

SYNOPSIS ^

function [ListFactorsCard] = FindListCard(ListFactors,Card)

DESCRIPTION ^

 [ListFactorsCard] = FindListCard(ListFactors,Card)
 FindListCard:  For each factor of variables gives the corresponding
                accumulate cardinality 
 INPUT:
 ListFactors: Each  cell  {i} stores the variables in the factor
 Card: Cardinality of the variables
 OUTPUT: 
 ListFactorsCard: For each factor of variables stores the corresponding
                  accumulate cardinality 

 Last version 8/26/2008. Roberto Santana (roberto.santana@ehu.es)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [ListFactorsCard] = FindListCard(ListFactors,Card)
0002 % [ListFactorsCard] = FindListCard(ListFactors,Card)
0003 % FindListCard:  For each factor of variables gives the corresponding
0004 %                accumulate cardinality
0005 % INPUT:
0006 % ListFactors: Each  cell  {i} stores the variables in the factor
0007 % Card: Cardinality of the variables
0008 % OUTPUT:
0009 % ListFactorsCard: For each factor of variables stores the corresponding
0010 %                  accumulate cardinality
0011 %
0012 % Last version 8/26/2008. Roberto Santana (roberto.santana@ehu.es)
0013 
0014 
0015 for i=1:size(ListFactors,2)
0016  ListFactorsCard{i} = FindAccCard(size(ListFactors{i},2),Card(ListFactors{i}));
0017 end
0018

Generated on Fri 04-Dec-2009 13:38:29 by m2html © 2003