<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>wishmaster the inspiration</title>
	<atom:link href="http://thomaszae.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thomaszae.wordpress.com</link>
	<description>Just another wishmaster weblog</description>
	<lastBuildDate>Sun, 19 Apr 2009 02:58:31 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
		<url>http://www.gravatar.com/blavatar/2f0a6e02ec78c35bb70d751ac4954612?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>wishmaster the inspiration</title>
		<link>http://thomaszae.wordpress.com</link>
	</image>
			<item>
		<title>Modify Styles in Office 2007</title>
		<link>http://thomaszae.wordpress.com/2009/04/19/modify-styles-in-office-2007/</link>
		<comments>http://thomaszae.wordpress.com/2009/04/19/modify-styles-in-office-2007/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 02:58:31 +0000</pubDate>
		<dc:creator>thomaszae</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[office 2007]]></category>
		<category><![CDATA[styles]]></category>

		<guid isPermaLink="false">http://thomaszae.wordpress.com/2009/04/19/modify-styles-in-office-2007/</guid>
		<description><![CDATA[I was really unfamiliar with office 2007 because some of menu look disappear. One of it is how to modify styles, finally I&#8217;ve found it by pressing Ctrl+Shift+S  
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=312&subd=thomaszae&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was really unfamiliar with office 2007 because some of menu look disappear. One of it is how to modify styles, finally I&#8217;ve found it by pressing Ctrl+Shift+S <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomaszae.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomaszae.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomaszae.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomaszae.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomaszae.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomaszae.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomaszae.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomaszae.wordpress.com/312/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomaszae.wordpress.com/312/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomaszae.wordpress.com/312/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=312&subd=thomaszae&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://thomaszae.wordpress.com/2009/04/19/modify-styles-in-office-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efa760037e6812d3462465405351d28a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">thomaszae</media:title>
		</media:content>
	</item>
		<item>
		<title>Compare Date in Query method (AX 2009)</title>
		<link>http://thomaszae.wordpress.com/2009/03/17/compare-date-in-query-method-ax-2009/</link>
		<comments>http://thomaszae.wordpress.com/2009/03/17/compare-date-in-query-method-ax-2009/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 06:58:19 +0000</pubDate>
		<dc:creator>thomaszae</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AX]]></category>
		<category><![CDATA[Compare Date]]></category>
		<category><![CDATA[query]]></category>

		<guid isPermaLink="false">http://thomaszae.wordpress.com/2009/03/17/compare-date-in-query-method-ax-2009/</guid>
		<description><![CDATA[Quite stuck in finding how to compare date in query method, but finally I found it. I need to convert it into strXpp so that the date convertion will convert correctly. Here is the example code:
&#8230;&#8230;..
&#8230;&#8230;..
queryRange = SysQuery::findOrCreateRange(qbsInventBatch, fieldnum(InventBatch,expDate));
queryRange.value(strfmt(&#8217;(expDate &#62; %1)&#8217;, Date2StrXpp(today())));
&#8230;&#8230;
&#8230;&#8230;
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=310&subd=thomaszae&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Quite stuck in finding how to compare date in query method, but finally I found it. I need to convert it into strXpp so that the date convertion will convert correctly. Here is the example code:</p>
<p>&#8230;&#8230;..<br />
&#8230;&#8230;..<br />
<em>queryRange = SysQuery::findOrCreateRange(qbsInventBatch, fieldnum(InventBatch,expDate));<br />
queryRange.value(strfmt(&#8217;(expDate &gt; %1)&#8217;, Date2StrXpp(today())));</em><br />
&#8230;&#8230;<br />
&#8230;&#8230;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomaszae.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomaszae.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomaszae.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomaszae.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomaszae.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomaszae.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomaszae.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomaszae.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomaszae.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomaszae.wordpress.com/310/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=310&subd=thomaszae&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://thomaszae.wordpress.com/2009/03/17/compare-date-in-query-method-ax-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efa760037e6812d3462465405351d28a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">thomaszae</media:title>
		</media:content>
	</item>
		<item>
		<title>My Smart Speed Test</title>
		<link>http://thomaszae.wordpress.com/2009/02/07/my-smart-speed-test/</link>
		<comments>http://thomaszae.wordpress.com/2009/02/07/my-smart-speed-test/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 11:18:23 +0000</pubDate>
		<dc:creator>thomaszae</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[Smart]]></category>
		<category><![CDATA[Smart EVDO]]></category>

		<guid isPermaLink="false">http://thomaszae.wordpress.com/2009/02/07/my-smart-speed-test/</guid>
		<description><![CDATA[
huuum, lama mau test speed dari Smart EVDO saya, di rumah saya (karang tengah), saya dapat 4 sinyal EVDO yang artinya full sinyal   dan Alhamdulillah speed yang saya dapet tinggi juga  
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=307&subd=thomaszae&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="&lt;a href="><img src="http://www.speedtest.net/result/406162367.png" alt="" /></a></p>
<p>huuum, lama mau test speed dari Smart EVDO saya, di rumah saya (karang tengah), saya dapat 4 sinyal EVDO yang artinya full sinyal <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' />  dan Alhamdulillah speed yang saya dapet tinggi juga <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomaszae.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomaszae.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomaszae.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomaszae.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomaszae.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomaszae.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomaszae.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomaszae.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomaszae.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomaszae.wordpress.com/307/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=307&subd=thomaszae&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://thomaszae.wordpress.com/2009/02/07/my-smart-speed-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efa760037e6812d3462465405351d28a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">thomaszae</media:title>
		</media:content>

		<media:content url="http://www.speedtest.net/result/406162367.png" medium="image" />
	</item>
		<item>
		<title>Get Standard Information in AX</title>
		<link>http://thomaszae.wordpress.com/2009/01/19/get-standard-information-in-ax/</link>
		<comments>http://thomaszae.wordpress.com/2009/01/19/get-standard-information-in-ax/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 13:39:09 +0000</pubDate>
		<dc:creator>thomaszae</dc:creator>
				<category><![CDATA[Ms Dynamics Axapta]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Axapta]]></category>
		<category><![CDATA[Default information]]></category>
		<category><![CDATA[getdate]]></category>
		<category><![CDATA[getdatetime]]></category>
		<category><![CDATA[getuserid]]></category>

		<guid isPermaLink="false">http://thomaszae.wordpress.com/?p=304</guid>
		<description><![CDATA[What I mean by standard function is, how to get logon user Id, default date or default datetime. I found it little bit hard, so that I&#8217;ll post it to make me easier to search
/*get the default user Id*/
curuserid()
/*get the default date */
today()
/*get the default date time*/
utcdatetime utc4, utcNow;
    ;
    utc4 = DateTimeUtil::utcNow();
    utcNow = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=304&subd=thomaszae&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>What I mean by standard function is, how to get logon user Id, default date or default datetime. I found it little bit hard, so that I&#8217;ll post it to make me easier to search</p>
<p><em>/*get the default user Id*/</em></p>
<p><em>curuserid()</em></p>
<p><em>/*get the default date */</em></p>
<p><em>today()</em></p>
<p><em>/*get the default date time*/</em></p>
<p><em>utcdatetime utc4, utcNow;</em></p>
<p><em>    ;</em></p>
<p><em>    utc4 = DateTimeUtil::utcNow();</em></p>
<p><em>    utcNow = DateTimeUtil ::applyTimeZoneOffset</em></p>
<p><em>        ( utc4,</em></p>
<p><em>        Timezone::GMTPLUS0700_BANGKOK_HANOI_JAKARTA</em></p>
<p><em>        );</em></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomaszae.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomaszae.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomaszae.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomaszae.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomaszae.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomaszae.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomaszae.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomaszae.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomaszae.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomaszae.wordpress.com/304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=304&subd=thomaszae&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://thomaszae.wordpress.com/2009/01/19/get-standard-information-in-ax/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efa760037e6812d3462465405351d28a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">thomaszae</media:title>
		</media:content>
	</item>
		<item>
		<title>Select query by using connection class</title>
		<link>http://thomaszae.wordpress.com/2009/01/19/select-query-by-using-connection-class/</link>
		<comments>http://thomaszae.wordpress.com/2009/01/19/select-query-by-using-connection-class/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 13:33:27 +0000</pubDate>
		<dc:creator>thomaszae</dc:creator>
				<category><![CDATA[Ms Dynamics Axapta]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[Axapta 2009]]></category>
		<category><![CDATA[Connection]]></category>
		<category><![CDATA[query]]></category>

		<guid isPermaLink="false">http://thomaszae.wordpress.com/?p=300</guid>
		<description><![CDATA[query in standard Axapta is really limited because I can&#8217;t define distinct. Here is the code to define it, but as a note, you need to define it as a server run object.
public client server static void GetBatchListed( itemId _ItemId)
{
    Connection  conn;
    Statement   stmt;
    ResultSet   R;
    SqlStatementExecutePermission perm;
    str         [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=300&subd=thomaszae&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>query in standard Axapta is really limited because I can&#8217;t define distinct. Here is the code to define it, but as a note, you need to define it as a server run object.</p>
<p><em>public client server static void GetBatchListed( itemId _ItemId)</em></p>
<p><em>{</em></p>
<p><em>    Connection  conn;</em></p>
<p><em>    Statement   stmt;</em></p>
<p><em>    ResultSet   R;</em></p>
<p><em>    SqlStatementExecutePermission perm;</em></p>
<p><em>    str         sql;</em></p>
<p><em>    TSWrkInventBatch    TSWrkInventBatch;</em></p>
<p><em>    ;</em></p>
<p><em><br />
</em></p>
<p><em>    conn = new connection();</em></p>
<p><em>    stmt = conn.createStatement();</em></p>
<p><em><br />
</em></p>
<p><em>    sql = &#8220;select * from InventBatch IB inner join (&#8221;;</em></p>
<p><em>    sql += &#8220;select distinct c.InventBatchId from Inventsum a inner join InventDim b &#8220;;</em></p>
<p><em>    sql += &#8220;on a.Inventdimid = b.inventdimid &#8220;;</em></p>
<p><em>    sql += &#8220;inner join InventBatch c on b.InventBatchId = c.InventBatchId &#8220;;</em></p>
<p><em>    sql += &#8220;where a.ItemId = %1 and &#8220;;</em></p>
<p><em>    sql += &#8220;c.inventBatchId &lt;&gt; &#8221;) as TBJoin on IB.InventBatchId = TBJoin.InventBatchId&#8221;;</em></p>
<p><em><br />
</em></p>
<p><em><br />
</em></p>
<p><em>    perm = new SqlStatementExecutePermission(strfmt(sql,_ItemId));</em></p>
<p><em>    perm.assert();</em></p>
<p><em>    R = Stmt.executeQuery(sql);</em></p>
<p><em><br />
</em></p>
<p><em>    while (R.next())</em></p>
<p><em>    {</em></p>
<p><em>        info( R.getString(fieldnum(InventBatch, InventBatchId)));</em></p>
<p><em>    }</em></p>
<p><em>}</em></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomaszae.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomaszae.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomaszae.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomaszae.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomaszae.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomaszae.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomaszae.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomaszae.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomaszae.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomaszae.wordpress.com/300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=300&subd=thomaszae&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://thomaszae.wordpress.com/2009/01/19/select-query-by-using-connection-class/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efa760037e6812d3462465405351d28a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">thomaszae</media:title>
		</media:content>
	</item>
		<item>
		<title>Hierarchy Clustering Algorithm</title>
		<link>http://thomaszae.wordpress.com/2009/01/08/hierarchy-clustering-algorithm/</link>
		<comments>http://thomaszae.wordpress.com/2009/01/08/hierarchy-clustering-algorithm/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 11:46:23 +0000</pubDate>
		<dc:creator>thomaszae</dc:creator>
				<category><![CDATA[lectures]]></category>
		<category><![CDATA[Algorithm]]></category>
		<category><![CDATA[Hierarchy Clustering]]></category>
		<category><![CDATA[Single Linkage Clustering]]></category>

		<guid isPermaLink="false">http://thomaszae.wordpress.com/2009/01/08/hierarchy-clustering-algorithm/</guid>
		<description><![CDATA[Huum, for a while I write a note to define Single Linkage Clustering Algorithm..
Well, I&#8217;m afraid I forget it or lose my note, so I&#8217;d like to write it here..
From data scratch, I need to redefine it into distance matrix..
//distance matrix
  for i=1 to row
 for j = i+1 to row
 Mat[i,j] = Euclid(Data[i], [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=297&subd=thomaszae&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Huum, for a while I write a note to define Single Linkage Clustering Algorithm..<br />
Well, I&#8217;m afraid I forget it or lose my note, so I&#8217;d like to write it here..</p>
<p>From data scratch, I need to redefine it into distance matrix..<br />
<span style="text-decoration:line-through;">//distance matrix</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> </span><em><span style="color:#3366ff;"><span style="text-decoration:line-through;"> for i=1 to row</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> for j = i+1 to row</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> Mat[i,j] = Euclid(Data[i], Data[j])</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> end</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> end</span></span></em><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> //finish</span></p>
<p><span style="text-decoration:line-through;"> </span></p>
<p><span style="text-decoration:line-through;">then I need to find the minimum for each data point, and restore it into temporary variable</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> //run single linkage clustering</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> </span><em><span style="color:#3366ff;"><span style="text-decoration:line-through;"> while 1</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> min = 0</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> for i = 1 to row</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> for j = i+1 to row</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> if min &gt; Mat[i,j] and Mat[i,j] &gt;= 0 then</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> min = Mat[i,j]</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> Dtx = i; Dty = j //store the row column that has minimum distance</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> end</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> end </span></span></em></p>
<p><span style="text-decoration:line-through;"> </span></p>
<p><em><span style="color:#3366ff;"><span style="text-decoration:line-through;"> end</span></span></em></p>
<p><span style="text-decoration:line-through;"> </span></p>
<p><em><span style="color:#3366ff;"><span style="text-decoration:line-through;"> MatH[Dtx, Dty] = min;</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> Mat[Dtx, Dty] = -1;</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> //it means, condition never meet the minimum value, because all value has already -1</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> if mean = 0 then</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> break</span><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> end</span></span></em><span style="text-decoration:line-through;"><br />
</span><span style="text-decoration:line-through;"> //finish</span></p>
<p>Hope it will run well <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/thomaszae.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/thomaszae.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/thomaszae.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/thomaszae.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/thomaszae.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/thomaszae.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/thomaszae.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/thomaszae.wordpress.com/297/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/thomaszae.wordpress.com/297/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/thomaszae.wordpress.com/297/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=thomaszae.wordpress.com&blog=236156&post=297&subd=thomaszae&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://thomaszae.wordpress.com/2009/01/08/hierarchy-clustering-algorithm/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/efa760037e6812d3462465405351d28a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">thomaszae</media:title>
		</media:content>
	</item>
	</channel>
</rss>