ch.hsr.bieridee.utils
Class Recommendator
java.lang.Object
ch.hsr.bieridee.utils.Recommendator
public class Recommendator
- extends java.lang.Object
This is the R3COMMENDAT0R.
_
THE | | _
____ ____ ____ ___ ____ ____ ____ _ | | ____| |_ ___ ____
/ ___) _ ) ___) _ \| \ / _ ) _ \ / || |/ _ | _)/ _ \ / ___)
| | ( (/ ( (__| |_| | | | ( (/ /| | | ( (_| ( ( | | |_| |_| | |
|_| \____)____)___/|_|_|_|\____)_| |_|\____|\_||_|\___)___/|_|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Recommendator
public Recommendator(UserModel userModel)
- Creates a new Recomendator for the given User.
- Parameters:
userModel
- The user who (desperatly) desires recommendations
calulateRecommendations
public java.util.List<RecommendationModel> calulateRecommendations()
throws org.neo4j.graphdb.NotFoundException,
WrongNodeTypeException
- Initates the magics. Calculates the Recommendations.
- Returns:
- The recommendations
- Throws:
WrongNodeTypeException
- Thrown if a node has the wrong type
org.neo4j.graphdb.NotFoundException
- Thrwons if a node was not found