tag:blogger.com,1999:blog-2851998125830919828.post6566484288486255066..comments2023-05-30T14:02:12.851+01:00Comments on Figment Engine: Markov chain codefehttp://www.blogger.com/profile/10497505263673073471noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-2851998125830919828.post-9434864427351131052010-09-23T20:47:36.717+01:002010-09-23T20:47:36.717+01:00Thank you very much, I'm gonna test it now :)Thank you very much, I'm gonna test it now :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2851998125830919828.post-81317756214349462462010-09-23T20:25:21.426+01:002010-09-23T20:25:21.426+01:00@Kalaziel:
private static string Tidy(string p)
{
...@Kalaziel:<br />private static string Tidy(string p)<br />{<br /> string result = p.Replace('\t', ' ');<br /> string compress = result;<br /><br /> do<br /> {<br /> result = compress;<br /> compress = result.Replace(" ", " ");<br /> }<br /> while (result != compress);<br /><br /> return result;<br />}fehttps://www.blogger.com/profile/10497505263673073471noreply@blogger.comtag:blogger.com,1999:blog-2851998125830919828.post-79901962915813175002010-09-23T19:43:19.681+01:002010-09-23T19:43:19.681+01:00Where´s the Tidy method? I cant test it :(Where´s the Tidy method? I cant test it :(Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2851998125830919828.post-48464392275229552222010-05-22T21:27:06.788+01:002010-05-22T21:27:06.788+01:00Thanks dude! I've been noodling around with th...Thanks dude! I've been noodling around with the idea for a Markov chain to use some art projects i'm doing. This is *SO* much simpler than my attempts.<br /><br />You win +3 internetz :)Colin Meierhttps://www.blogger.com/profile/07362580018581436464noreply@blogger.comtag:blogger.com,1999:blog-2851998125830919828.post-68459916422768286452009-10-25T12:22:10.398+00:002009-10-25T12:22:10.398+00:00@Dervin Sum is an extension method, see http://msd...@Dervin Sum is an extension method, see http://msdn.microsoft.com/en-us/library/system.linq.enumerable.sum.aspxfehttps://www.blogger.com/profile/10497505263673073471noreply@blogger.comtag:blogger.com,1999:blog-2851998125830919828.post-65253505323747471032009-10-24T21:47:20.298+01:002009-10-24T21:47:20.298+01:00I was wondering where the "Sum" method c...I was wondering where the "Sum" method came from in line 114 of the Link internal class. Thanks.Unknownhttps://www.blogger.com/profile/17598356583998852501noreply@blogger.com