Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > data structure ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 43683 of 48022
Post > Topic >>

data structure design

by puneet vyas <puneetit4@[EMAIL PROTECTED] > Mar 4, 2008 at 11:39 PM

data structure design
we have to design the data structure for a sequence database( a
sequence database is on which contains sequences of item sets and a
typical sequence database contains following enteries,sequence
database consits of sequence of transaction
like T1 T2 T3,where each transaction consists of item set:

{ex : sequence database}

CID(sequence id) sequences
1 <{a,b},(c,d},{d}>
2 <{b} ,{a,b,c}>
3 <{a,b},{b,c,d}>

i have used access database to represent the sequence database,with
the following fields
cid tid A B C D E F G
//where cid is customer id,tid represents transation id,and all next
fields are items
// a sample entry is as follows:
1 10 1 0 0 1 0 1 0
where each entry describe as customer 1 involved in transaction_id 10
and it involves items a,d,f,also the sup****t count of a item .now i
need to construct data structure as follows:

thier is a header with three fields:
->itemid
->sup****t count
->link

item id is the name of the item like a ,b etc,sup****t count is the
number of tuples that contain items,now from the link field,all the
instances of a frequent 1-items(like a,b,c etc ) in the sequence
database are linked into a list,i.e link contains pointer to all those
tuples that contains frequent  item.!
i.e starting from the Link  field ,all the instances of frequent 1
itemsets in the sequence database are linked into a list

i have calculated the sup****t count,can any one tell me approach to be
taken to construct the data structure with the above specification




thanks for sup****t







thanks for sup****t
 




 1 Posts in Topic:
data structure design
puneet vyas <puneetit4  2008-03-04 23:39:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 11:24:21 CDT 2008.