Sometimes you need a test class with connection to a data base. We can use JUnit and Spring framework to make it.In my opinion the best way is separate the project and the test.
If we work with the test like a normal project, we´ll have source in src/test/java with the java classes (dao, model, services, test, etc), and another source src/test/resources with the configuration files (applicationContext.xml , applicationContext-ibatis.xml).
We define our test class with the annotations:@...
Heuristic algorithms can be useful when we face problems that would take a lot of CPU time if we try to resolve them in an exact way. These methods allow us to get a good solution in a reasonable amount of time.An example of a heuristic algorithm is the ant colony optimization (ACO), a probabilistic technique for solving computational problems which can be reduced to finding good paths through graphs. ACO is a bio-inspired algorithm based on the behavior of real ants seeking a path...
Welcome to the Predictia Blog
Through this blog, we will launch articles related to the technologies we use in our company which are mainly J2EE and Data Mining techniques.
I would like to start with introducing ourselves. We are a young company (founded in 2008) that emerged as spin-off from a data mining group at the University of Cantabria to offer data management and mining solution for problems in scientific disciplines (initially related climate and health), requiring a special handling...