<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>「Kcw's Blog」的相關評論</title>
	<atom:link href="http://blog.cotix.net/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.cotix.net</link>
	<description>留不住的就讓它活在回憶中</description>
	<pubDate>Mon, 15 Mar 2010 23:30:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>「窮苦人家的小孩」對於「窮人的VPS主機：vpslink.com」的評論</title>
		<link>http://blog.cotix.net/2008-09/PostID=140#comment-107</link>
		<dc:creator>窮苦人家的小孩</dc:creator>
		<pubDate>Sun, 08 Nov 2009 23:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cotix.net/?p=140#comment-107</guid>
		<description>VPS一定能跑JAVA，不然花大錢租VPS幹嘛 XD，但是效能就看你的程式消耗多少資源，吃的兇，挑VPS時就要挑硬體規格好一點的(而且要選XEN規格，不是OPENVZ規格)~ 新手建議找 有代管的VPS，要裝什麼都直接發 ticket 請主機商裝上去就好了。</description>
		<content:encoded><![CDATA[<p>VPS一定能跑JAVA，不然花大錢租VPS幹嘛 XD，但是效能就看你的程式消耗多少資源，吃的兇，挑VPS時就要挑硬體規格好一點的(而且要選XEN規格，不是OPENVZ規格)~ 新手建議找 有代管的VPS，要裝什麼都直接發 ticket 請主機商裝上去就好了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>「adon」對於「ns2 LEACH 協定與節點座標資訊」的評論</title>
		<link>http://blog.cotix.net/2009-04/PostID=176#comment-89</link>
		<dc:creator>adon</dc:creator>
		<pubDate>Sat, 22 Aug 2009 09:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cotix.net/?p=176#comment-89</guid>
		<description>Dear Sir, 

I really need your help . I am beginner with ns-2. I want to elect cluster heads with the residual energy of the nodes within clusters. So I want to get the residual energy of the nodes within clusters in Decideclusterhead() LEACH procedure.  (under mannasim , ns-2 module extension)

please give me some advice how should i do if I want to get this parameter.

PS: I have tried , in order to have the residual energy of sensor_ node on leachApp.cc

So I proceeded as follows

1. declare the procedure  (on LeachApp.h : double residualEnergy() ) The code on .cc

double  LeachApp :: residualEnergy()
{
    return ((Battery *) sensor_node_-&gt;energy_model())-&gt;energy() ;
}

and call it by:

Double E =residualEnergy();  
(E is  the value of the  residual energy)

But I wonder, please, if this is correct, and please , do you have any suggestions that i can use it to have the energy. 

looking for your reply soon .</description>
		<content:encoded><![CDATA[<p>Dear Sir, </p>
<p>I really need your help . I am beginner with ns-2. I want to elect cluster heads with the residual energy of the nodes within clusters. So I want to get the residual energy of the nodes within clusters in Decideclusterhead() LEACH procedure.  (under mannasim , ns-2 module extension)</p>
<p>please give me some advice how should i do if I want to get this parameter.</p>
<p>PS: I have tried , in order to have the residual energy of sensor_ node on leachApp.cc</p>
<p>So I proceeded as follows</p>
<p>1. declare the procedure  (on LeachApp.h : double residualEnergy() ) The code on .cc</p>
<p>double  LeachApp :: residualEnergy()<br />
{<br />
    return ((Battery *) sensor_node_->energy_model())->energy() ;<br />
}</p>
<p>and call it by:</p>
<p>Double E =residualEnergy();<br />
(E is  the value of the  residual energy)</p>
<p>But I wonder, please, if this is correct, and please , do you have any suggestions that i can use it to have the energy. </p>
<p>looking for your reply soon .</p>
]]></content:encoded>
	</item>
	<item>
		<title>「kcw」對於「ns2 LEACH 協定與節點座標資訊」的評論</title>
		<link>http://blog.cotix.net/2009-04/PostID=176#comment-73</link>
		<dc:creator>kcw</dc:creator>
		<pubDate>Sun, 05 Apr 2009 14:41:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cotix.net/?p=176#comment-73</guid>
		<description>小黑要的嘛...</description>
		<content:encoded><![CDATA[<p>小黑要的嘛...</p>
]]></content:encoded>
	</item>
	<item>
		<title>「leolo」對於「ns2 LEACH 協定與節點座標資訊」的評論</title>
		<link>http://blog.cotix.net/2009-04/PostID=176#comment-72</link>
		<dc:creator>leolo</dc:creator>
		<pubDate>Sun, 05 Apr 2009 08:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cotix.net/?p=176#comment-72</guid>
		<description>在軍中念博班唷，還不忘寫模擬呢XD</description>
		<content:encoded><![CDATA[<p>在軍中念博班唷，還不忘寫模擬呢XD</p>
]]></content:encoded>
	</item>
	<item>
		<title>「kcw」對於「Jaiku is being upgraded...」的評論</title>
		<link>http://blog.cotix.net/2009-03/PostID=174#comment-71</link>
		<dc:creator>kcw</dc:creator>
		<pubDate>Sun, 15 Mar 2009 10:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cotix.net/?p=174#comment-71</guid>
		<description>看樣子修好了...</description>
		<content:encoded><![CDATA[<p>看樣子修好了...</p>
]]></content:encoded>
	</item>
	<item>
		<title>「hzlinux」對於「窮人的VPS主機：vpslink.com」的評論</title>
		<link>http://blog.cotix.net/2008-09/PostID=140#comment-62</link>
		<dc:creator>hzlinux</dc:creator>
		<pubDate>Tue, 10 Feb 2009 08:31:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cotix.net/?p=140#comment-62</guid>
		<description>VPS上內存太少，運行java基本不可行。</description>
		<content:encoded><![CDATA[<p>VPS上內存太少，運行java基本不可行。</p>
]]></content:encoded>
	</item>
	<item>
		<title>「blue」對於「OSI 模型速記口訣」的評論</title>
		<link>http://blog.cotix.net/2009-01/PostID=164#comment-61</link>
		<dc:creator>blue</dc:creator>
		<pubDate>Thu, 29 Jan 2009 05:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cotix.net/?p=164#comment-61</guid>
		<description>這個好!!  因為我沒記起來過 = =</description>
		<content:encoded><![CDATA[<p>這個好!!  因為我沒記起來過 = =</p>
]]></content:encoded>
	</item>
	<item>
		<title>「mmmmmzzzzz」對於「[電影] 頂尖對決(The Prestige)」的評論</title>
		<link>http://blog.cotix.net/2009-01/PostID=158#comment-60</link>
		<dc:creator>mmmmmzzzzz</dc:creator>
		<pubDate>Sun, 11 Jan 2009 14:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cotix.net/?p=158#comment-60</guid>
		<description>我覺的超好看的耶!</description>
		<content:encoded><![CDATA[<p>我覺的超好看的耶!</p>
]]></content:encoded>
	</item>
	<item>
		<title>「kcw」對於「[電影] 頂尖對決(The Prestige)」的評論</title>
		<link>http://blog.cotix.net/2009-01/PostID=158#comment-59</link>
		<dc:creator>kcw</dc:creator>
		<pubDate>Sat, 03 Jan 2009 07:09:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cotix.net/?p=158#comment-59</guid>
		<description>我也覺得有點亂 T_T 後來去看Movie版劇情討論才懂。</description>
		<content:encoded><![CDATA[<p>我也覺得有點亂 T_T 後來去看Movie版劇情討論才懂。</p>
]]></content:encoded>
	</item>
	<item>
		<title>「leolo」對於「[電影] 頂尖對決(The Prestige)」的評論</title>
		<link>http://blog.cotix.net/2009-01/PostID=158#comment-58</link>
		<dc:creator>leolo</dc:creator>
		<pubDate>Sat, 03 Jan 2009 05:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cotix.net/?p=158#comment-58</guid>
		<description>這部片要看兩次以上才會完全看懂呀XD</description>
		<content:encoded><![CDATA[<p>這部片要看兩次以上才會完全看懂呀XD</p>
]]></content:encoded>
	</item>
</channel>
</rss>
