This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i am tyring to implement a program that shows how to use fuzzy logic to decide on a degree of membership a document has to a search query, to do this i need to be able to show a graph of the results of a formula. i want y axis to be degree of membership and x axis to be no. of string occurrences in the document(i have a method to retrieve this.)the maximum value degree of membership can take is 1. i.e. if no. of occ <1 then membership = 0, if 1<no. of occ < 3 then membership = ((no. of occ) - 1)/2 if no. of occ>3 then membership is 1