Automated FSM for C - c

I am looking for a automated finite state machine generator for C? I have seen a few over the internet but unable to decide which one to use. If anybody worked with any such tool then help me to find the right one.
Thanks,
Ravi Gupta

Ragel is fairly powerful.

Related

Graph Databases' Implementation

I am having trouble visualizing a Graph Database.
Visualizing an RDBMS is really very simple and I was able to understand from the first tutorial itself when I started learning it some 4-5 years ago.
But I am not able to understand Graph Databases.
I am also unable to get any good links on this topic, hence posting this question here.
Specifically, I am looking for the following:
Some really simple book/link on Graph Dbs
Atleast some knowledge on the implementation details of a Graph DB (I hope all Graph DBs would be having atleast a few basic things in common).
Thanks a lot in advance guys,
Protoge is your best bet to get started understanding ontologies.
IsaVis is a pretty common tool for visualizing you db.
Jena and Sesame are you best bets for implementations (both in java) but for prototyping python rocks and rdflib is the must use tool there.
There are plenty of others out there but those are my suggested entry vehicles. YMMV
Neo4j did a quite good job for me explaining the concept. Also starting with it to test is quite easy to do. You could start here:
http://neo4j.org/learn/

Android answer database

I am pretty new in this game so please do not judge me harshly.
So I need to build a question/answer database for an app.
The idea is simple:
User types a question and if I have an answer in my database, it gives an answer. If I do not have an answer, it goes for my manual moderation, so I can add new answers for the future.
I do not know if someone has already build a software like this and I can just buy one, or do I have to hire someone to build one from the ground. Which language should I use? Which software?
I know that Java, C++ and SQL are most popular languages for that type of jobs, but are they the best solution or there are better languages?
I need a database that can hold a really huge amount of data.
I would really appreciate any help guys!
and if any of you can build me this database, I do not mind to hire a freelancer.
Thank you!
Best Regards,
Ayazhan.
Yes you can do it.
if you have some knowledge in SQl then you can make an local Db in your app and consume it according to requirement. The simple question and answer app contains set of predefined questions.
The above link will help you to develop this app.

Genetic Programming in C?

I want to create an algorithm using genetic programming, based on symbolic regression.
I read some articles about that, some examples written on java or c++.
Maybe is more difficult because it isn't OOP, but is it possible to develop genetic programming in C?
What do you suggest to me to start programming? Any books/articles/examples to read?
I tried googling about that, but I didn't find anything interesting..
Thank you, cheers.
I've used GAUL in the past, and I'm fairly certain it's written to work with C. It did the job for me.
What do you suggest to me to start programming?
If you're starting to program I highly recommend a modern language that comes with a rich set of libraries and is more forgiving to beginner's mistakes.
Free environments are available for most languages, personally I'd suggest C# (using either the free MS stuff or Mono) or Java (using Eclipse).
Groovy or Python are good choices, too.
You most definitely won't start with C, that is assuming you're not constrained by some particular environment your solution has to run on that only supports C.
Just my 2c ;-)
Cheers,
Jay
It's definitely possible to implement genetic algorithm with C. If you just wanna focus on the algorithm experiments without the machine details and have not yet known C, then I recommend python.
TinyGP was originally written in C so yes, it is possible to implement genetic programming with C. For genetic programming I would recommend the Fiueld Guide to Genetic Programming since its freely available and has a lot of references. It is very practically-oriented but not as thorough as other texts.

What do you think about Mobile Robotics Programming Toolkit?

Did anyone use Mobile Robotics Programming Toolkit? What do you think about it?
I am currently studying the SLAM problem (I am quite new in this area) and I am planning to implement a Mono Slam solution based on Extended Kalman Filter (C++). Do you recommend to implement my solution on top of Mobile Robotics Programming Toolkit, or it would be better to start from scratch?
Well, I'd say it depends. Why would you use it? Does it provide anything special that you need, like feature extraction or visualization? Since it's for learning purposes, I'm assume their monoslam implementation is of little interest.
If not, why bother? Once you have your measurements, you pretty much only need a decent linear algebra library. I recommend Eigen; it's easy to use and does everything you need.
Disclaimer: I haven't actually used MRPT.
FYI, Eigen is also included in MRPT. I am starting to use MRPT as well. It's quite a good tool for SLAM beginner->advanced I think.

A B+tree simple implementation in C

I'm working on a fun project where I need a simple key/value store that uses B+Trees. I studied them some years ago, and to be honest, I don't want to reinvent the wheel, so I'm looking for a simple implementation in C of b+tree that I can just include in my project.
I know of sqlite's, dbm's and tokyocabinet's ones but they're a little too "complicated" for my needs. Is there any (even pedagogical) work on this you can refer me to? Do you have some code to share?
Thanks a lot!
There's one listed in the wikipedia article:
Interactive B+ Tree Implementation in C
Perhaps you can edit out the "interactive" parts?
I think there are many links where you can read and implement for yourself(which is the best way since it helps you learn).
But if you dont have time you can see one forum here.
You can customize it to your needs
http://www.codeguru.com/forum/showthread.php?t=453150

Resources