A simple (de)compression program using Run Length Encoding.
Compression is done that easy:
compressedData = rle(originalData)
Decompression:
originalData = rle(compressedData)
% PURPOSE : Demonstrate the differences between the following
% filters on a simple DBN.
%
% 3) Particle Filter (PF)
% 4) PF with Rao Blackwellisation (RBPF)
從s60平臺移植到UIQ平臺的例子代碼:In this code we shall consider taking a simple HelloWorld GUI application written for the Nokia’s Series 60 reference design and transforming it into a HelloWorld example for the UIQ reference design.
/* This a simple genetic algorithm implementation where the */
/* evaluation function takes positive values only and the */
/* fitness of an individual is the same as the value of the */
/* objective function