topics:  main-page   everything   99things   things-to-do   software   space   future   exercise & health   faith  
  thought   web   movies+TV   music   mymusic   food   curiosity   tidbits   I remember   wishlist   misc   links


This section lists all blog posts, regardless of topic.

Exercise 11: Drawing IsA trees
September 9, 2008

Summary

Enhance the view details mode of the web application to support drawing graphical IsA trees. Accomplish this by using GraphViz to render a PNG.

Solution

C# code
Perl code

Web UI

Click here

NOTE: The graph drawing component will only work if my home PC is turned on.




Exercise 10: Parsing numbers
September 9, 2008

Summary

This exercise involves introducing yet another transformation type, the numeric transformation, which allows numbers to be added or multiplied. It is to be used to allow numbers, written in long form, to be parsed into their representative integers.

For example, "one thousand one hundred and eleven" is parsed to become 1111.

See this post for more details.

Test cases

Click here

Solution

Click here

Web UI

Click here


IsA Trees
September 8, 2008

Something that I've noticed is that IsA trees, which are directed graphs that describe how an entity relates to other entities via the is_a relationship, are quite interesting and seem to be a vital part of constructing an AI. It will be interesting to see how my use of this structure evolves over time.

older >>