Tuesday, 19 May 2009
Sunday, 17 May 2009
Honours Project
I am now more or less finished. All the sections are in, some of them need a few changes but nothing major. I will have to go and format the entire document which hopefully shouldnt take too long. Ive had it proof read again, still have a few comments in it where i have missed things or need to explain them more. Also still have to go through it and number all the figures etc
Sunday, 10 May 2009
progress
The results write up is now finished as is most of the conclusions and future work.. Had the presentations last week, seemed to go fine. The application is now finished, will try and improve the visuals if I have time.
Ive been going through alot of the dissertation and again rewriting large sections of it, mostly to try and reduce the work count a bit. Ive had a few people read it through, including my supervisor who all agree that it would be very hard to remove parts without leaving a hole in the report. Therefore, it is going to have to stay the size it is.
Ive been going through alot of the dissertation and again rewriting large sections of it, mostly to try and reduce the work count a bit. Ive had a few people read it through, including my supervisor who all agree that it would be very hard to remove parts without leaving a hole in the report. Therefore, it is going to have to stay the size it is.
Friday, 1 May 2009
progess
All the testing is now done and ive started organising the results that were dumped to text files into an excel sheet to make charts etc.
Ive spotted a few that might have to be done again.
I've now started wrting up my results section. I have finished the methodology section completely and will go back to it at a later date.
I have also briefly planned out what will be in the conclusions/ future work sections
Ive spotted a few that might have to be done again.
I've now started wrting up my results section. I have finished the methodology section completely and will go back to it at a later date.
I have also briefly planned out what will be in the conclusions/ future work sections
Tuesday, 28 April 2009
testing
I have now fixed the problem i was having previously. Testing is now able to continue. Again, still just reading over my dissertation while running the tests as it is taking up most of my time
Wednesday, 22 April 2009
Progress
Managed to get more test done, however, hit a problem with the fact that it was running in release instead of debug, which meant that for some reason, a few minor changes that were made didnt actually apply to the program. This lead to several tests having to be scrapped.
To solve this, I'm going to have to completely redo several tests just to make sure that the results are fine.
As for the dissertation, I have been proof readin what i already have and rewording several sections at a time to make them read better
To solve this, I'm going to have to completely redo several tests just to make sure that the results are fine.
As for the dissertation, I have been proof readin what i already have and rewording several sections at a time to make them read better
Wednesday, 15 April 2009
Testing
I have now managed to get up to test 20 which has involved running the program almost 600 times! I aim to have all the testing finished by the end of this week so that I can go back to working on my dissertation.
Monday, 30 March 2009
Update
I've spent the last few days completly re-writting sections of my dissertation. The fuzzy logic section of the literature review, as well as the FIS and FuSM sections have been reworded. The FIS and FuSM methodology has also had some re-wording and extra information put into them. Made a start on the Environment section of the methodology but decided to leave it untill the project has finished as I'm planning to redo parts of the environment code if I get the chance.
I've started writing up the results plan. There is so much that can be tested with this project that I'm having to spend a good deal of time working out what I will include in the results section along with an explanation about what the result is telling me. I can see this taking a good few days, I will mostly likely have to schedule another meeting with my technical supervisor to go over it just before I finalise it and begin the testing.
I've also for the first time been able to run the application with everything in it and the manager running which has reveled to me several hidden bugs as well as things that I had simply forgotten about. I'm going through these and trying to fix them as they come up. However, with the manager running, the ecosystem does seem to maintain itself within a state of balance which is what I had been hopeing for.
Tuesday, 24 March 2009
Progress
I think that is now me officially finished implmenting the techniques into the application. The fuzzy inference system now feeds the final defuzzified value as input into the fuzzy state machine which then performs transitions based upon the input.
All that really remains to be done with the techniques now is continue to tune them so that they work better together. Some of the techniques simply feed into empty functions, these will have to added to so that they now have an effect of the ecosystem. The fuzzy state machine at the moment does not actually do anything to the plant that it is monitoring, however this should not take long to adjust.
Continued to reword my FIS implentation section. I have one last thing to check on it before it is ready to be added into the first draft of my dissertation.
Monday, 23 March 2009
Progress Update
Earlier today I managed to get a defuzzification method working on the Fuzzy Inference System within the application and am now able to return a single crisp numerical value. This value will then be fed into the FuSM. This now means that all the techniques that were going to be implemented within the application have been created and added. Now that these techniques are in place I can focus on making them work together.
More work has continued on the creating of freely growing vegetation within the environment. While in theory the methodology in place for this should work fine, after about 40 new plants have been created the graphics side of the application locks up. The program itself does not die as the console window continues to print of data as the ecosystem ages. A cause and a solution to this problem have yet to be found.
Yesterday I completely re-done the FIS methodology section as I found some much better research on it. I now have to go back and finish off the methodology for the FIS, writing about the Defuzzification method, and then further update the FuSM.
The implmentation of the environment itself also has to be written up.
Saturday, 21 March 2009
more updates
While I wait to have another discussion about my FiS within the application, I moved on to "tune up" parts of the ecosystem itself. While doing so, an architecture problem was uncovered. This problem related to how much vegetation and water could be present within the ecosystem at any one time. While on its own it does not appear to be very problematic, however since it had been continually build ontop of and the fact that several other components of the ecosystem were dependant on this a solution had to be found. The solution I was looking for would allow a limitless number of plants and lakes to be formed, simply creating new instances of the respective classes on the fly as the program ran. Two attemps at solving this earlier on were through the use of the STL - namely lists and maps. Therefore much of the day has been spent tyring to implment these as solutions. However, in the end, a much more straight forward solution was devised.
If the plant life was allowed to become unlimited, then the ecosystem itself may become to overpopulated resulting in the death of everything. Therefore an array of 100 pointers to the vegetation class was created which would remain nulled untill a new plant appears. Since the herbivores will always be eating, there will never be the full 100 plants on screen which means when one dies off completely, it can be remade in a new location, giving the impression of freely growing vegetation.
Some basic tests have been carried out with this approach, a new tree has been grown at the end of each system day. This method itself seems to be working fine, however a slighty annoying bug has developed which results occasionally in 2 plants being created instead off one as well as the positions of the lakes changing when a new tree appears.
With the dissertation, the Methodology section is almost finished, all that needs to be added to it is the end of the FIS section. Once that is done, I will need to go back and include the FIS into the RQ aswell as the literature review section as these were written before the FIS was included into the project.
EDIT:
Fixed the problem of the lakes changing position aswell as the vegetation. As it turns out, one of the positional arrays was not large enough so for some reason the data was then moving into a different array altering the positions of the lakes
Friday, 20 March 2009
FiS update
Managed to implement a Fuzzy Inference System within the application. However it still needs a proper defuzzification method applied to it. At present, it simply takes the output state with the highest DOM and uses it.
The FiS does not run constantly, it simply takes in a snapshot of the current system at the end of each "day" and then calculates the state of a specific vegetation piece. It was mentioned previously that the FiS will take in three seperate input states, however, for simplicity and untill I can implement the Combs Method effectively the FiS will only deal with two input states. These states are based on how much water is left within the system, and how much the piece of vegetation in question has been eaten. The output states of the FiS are as follows:
High yield - vegetation produces alot more resource than normal
Normal Yield - vegetation produces the standard amount
Low Yield - vegetation produces around 1/4 of the standard yield
DeadYield - the vegetation does not grow back as often
This is currently only applied to a single vegetation piece. Once the defizzufication method is applied fully, it will then be implemented on the majority of the vegetation
Tuesday, 17 March 2009
Progress meeting
Had my second progress meeting where I explained why I have not achieved much the last week or so. However, now that the dare application and math test are out of the way, I am now able to focus more on the honours application.
Also had a meeting with Dr. King today. I have been looking into the Combs Method for the Fuzzy Inference System. The combs method cuts down the amount of rules required by a FIS to come to a result. While this result is not as accurate as the normal method, the CPU time saved is rather helpful. It saves resource use-age by reducing the amount of rules required from an exponential equation to a linear equation which would be very helpful as has been shown in the literature review section of the dissertation, ecosystems are increadibly complex and as such would require alot of rules.
The rest of tonight and tomorrow will have to be written off as I am attending the code works, jobs in digital fair which takes place in Newcastle tomorrow.
However, since I now have a normal fuzzy inference system running correctly (still minus the defuzzification part) I have decieded just to go ahead and implement a normal FIS into the application and then change it later when I manage to successfully implement the combs method
Friday, 13 March 2009
Week Update
Not much progress has been made this week as alot of time has been spent on the dare application as the deadline is only a few days away now. Also on the horizon is the annual Game In Scotland event which is happening on Saturday, because of this alot of time has been spent (and will continue to be spent) on polishing up demos and the CV for the event.
I had another meeting with my technical supervisor, i discussed more of my ideas and thoughts about the FIS and explained that I have been working on the AI coursework so that I can then hopefully port it over to the demonstration application once it is ready. I have now almost completly finished the methodology section and I'm now just waiting on constructiong the FIS before writing about it in the Dissertation.
I have also contined to take some of the base results from the application which will be used later for the next section of the dissertation, the results section
Tuesday, 10 March 2009
Progress
The math exam is over which gives me alot more time to focus on the project. The methodology section of the dissertation is coming along very well and is now almost finished. I hope to have more done on it for my meeting with my supervisor later this week.
Since I am planning on trying out a Fuzzy Inference System (FIS) within the application, I have decided to spend more time on my A.I. coursework for Dr. King as this also entails creating a FIS. I have been doing research on FIS's reading up on several academic and other papers which has helped boost my understanding of them. I have constructed the basic FIS class (minus a defuzzification method) and have been testing it out. While it seemed to work at first, it does not return sensible values for all of the inputs, therefore I will have to spend some more time trying to find out why.
Since I am planning on trying out a Fuzzy Inference System (FIS) within the application, I have decided to spend more time on my A.I. coursework for Dr. King as this also entails creating a FIS. I have been doing research on FIS's reading up on several academic and other papers which has helped boost my understanding of them. I have constructed the basic FIS class (minus a defuzzification method) and have been testing it out. While it seemed to work at first, it does not return sensible values for all of the inputs, therefore I will have to spend some more time trying to find out why.
Had my first progress meeting today. I will post up my progress report later on today
Saturday, 7 March 2009
Update for this week
Unfortunately not much progress has been made with the project as a whole this week. Maths revision has continued to take up the majority of my time. Some progress has bee made with the dissertation as I continue to work away at the methodology section. Some minor additions have been made to the application, such as printing out some of the ecosystem information onto the screen. Once the math exam is over and the dare application has been submitted i should hopefully be able to concentrate more on my project as a whole
Tuesday, 3 March 2009
News
I have been continuing with my dissertation and have managed to make a start on the methodology section, writing up my implentation of the A-Life algorithms used within the application.
Work on the demonstration project itself has been rather slow to non existant due to other university and outside deadlines. This will most likly continue for the rest of the week therefore I do not expect much progress to be made on the application itself. There is a math class test which counts for 10% of the mathematics module on the 9th of this month, therefore alot of my time will be focused on revising for this. The deadline for the Dare to be Digital application is also looming closer which has resulted in longer dare related meetings.
I have however continued to think about how I will implement the fuzzy state machine into the demonstration application. I will also be able to continue the write up of the methodology section
Friday, 27 February 2009
Update
Since I had finished the literature review section, I had pulled together all that I had done on the dissertation so far and loosely arranged it into how it will appear in the final document. I then emailed it to my technical supervisor so that he could take a read over it so that I could have some feedback on it. I was slightly worried about the size of my literature review as it is around 6500 words alone, when the introduction, RQ, and motivation sections were added in, it came out at around 8300.
The feedback I got from the meeting was actually rather good. As it turns out my supervisor had expected this the size of my dissertation to be rather large simply because I have alot to write about. The size is going to stay the same for the time being so that I can weigh it up against the rest of the dissertation (if it turns out it is huge compared to the rest of it, then it will be cut down).
As it turns out there were very few problems with what I had written so far, most of the things that were suggested to me was simply to reword a few senteces and then find the diagrams for the literature review section.
As for the practical side, I had a talk with my supervisor about the best way to implement the Fuzzy State Machine for the vegetation. As it stands, the FuSM can only accept one crisp input. I had been trying to use the rate at which the vegetation was increasing/decreasing as this input but with little success. We both agreed that it would probably be better if i could somehow base this input on several factors. In the end we decieded that three factors should influence the input to the FuSM: these would be the rate at which it is being eaten, the remaining herbivore population and the remaining water levels.
In order to base the input off three seperate values, a Fuzzy Inference System will be used. This would allow be to take into consideration the three input values and return a single crisp value which could then be used as input for the FuSM.
One other thing that did come out of this meeting was that allow the FuSM seems like a good idea, it may be overkill. By overkill I mean, it may be trying to be too realistic with out actually making much of a difference as it may turn out that its implemtation does not actually have a visible effect on the system. Therefore, it was decieded that it will only be applied to a handfull of vegetation as a test, if it goes well and does indeed make a difference, then it will be applied to all the vegetation.
Wednesday, 25 February 2009
progress
I have managed to finish the literature review section now. It still needs to be read over as there are a few sections within it that I will need to revisit and reword. I also still have to scan in a few diagrams and tables to help illustrate some of the points that have been made within this section.
Not much progress has been made on the application, seem to have hit a bit of a motivational slump with it. Some minor tweaks have been made, some of the code has been clean up and commented. The next major task in the Honours project is to implement the fuzzy state machine for the vegetation. The Fuzzy State Machine had been created near the start of the term (as I had been working on one over the winter break) . However, a lot of though needs to go into how this will actually be implemented within the application as I do not believe it will be a simple task.
Sunday, 22 February 2009
Practical work and Dissertation
Work on my dissertation has continued. The Literature review section is coming along very well and should hopefully be finished soon. I have written down some thoughts on how to go about writing the Methodology section of the dissertation aswell.
The MADTFDA is almost fully in-place. Several of the functions can now influence the application and its inhabitants. As an example of this, the function that checks for low herbivore populations and high resource amounts is able to alter the herbivores perception range (among other things) to allow them to spot food more easily etc.
Subscribe to:
Posts (Atom)