a2liu / DSFP

This is my final project for Data Structures and Algorithms: a version of the fictional app "MeowMeowBeenz" from the tv show Community. Written in Java and SQL.
0 stars 0 forks source link
algorithms-datastructures database social-network work-in-progress

Data Structures Final Project

Project to make a real life version of MeowMeowBeenz.

Contents

TODO

Plan

Basics

  1. [x] Create User Class with basic fields
  2. [x] Create SQL Handler
  3. [x] Create connection between server and user
  4. [x] Create connection between server and SQL server
  5. [x] Create system to log in and logout of accounts

Friend Network

  1. Add basic searching by username
  2. Add classes for user and server package to make and send undirected networks.
  3. Add edge table and a way for DAOs to parse through it
  4. Use breadth-first traversal to get list of friends and friends' friends, etc.

Ratings Network

  1. Learn how to implement Signal flow graphs
  2. Implement this structure first
    1. Weight of ratings increases linearly as rating of source increases (maybe rating should be changed according to median?)
    2. Users automatically rate themselves a 5
    3. Users start with 10 ratings of 1, weight of 3, which get replaced by the first 10 ratings they get.
  3. Next, implement structure above but change weight of ratings to increase quadratically as rating of source increases. Also, weight should increase for 4's and 5's if standard deviation of ratings is lower, and weight should decrease for 1's and 2's.

Dev Cycle

  1. Implement block of commands a. Create SQL Tables and associated DAO's b. Create TerminalCommand block
  2. Implement GUI that reaches each part of TerminalCommand block
  3. Implement ActionEvent buttons and communication to server.

MySQL Info

IP: localhost
Port Number: 3306
Java Java Java Java Java Java

Reference Links

These are links that I found that helped me make this app.