This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
*/ | |
package com.appiarium.example; | |
import android.app.ProgressDialog; | |
import android.content.Context; | |
import android.os.Handler; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Hans Dulimarta | |
// | |
#include <iostream> | |
#include "TextPredictor.h" | |
using namespace std; | |
TextPredictor::TextPredictor() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Hans Dulimarta | |
// | |
#ifndef TEXTPREDICTOR_TEXTPREDICTOR_H | |
#define TEXTPREDICTOR_TEXTPREDICTOR_H | |
#include <fstream> | |
#include <vector> | |
#include <map> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define CATCH_CONFIG_MAIN | |
#include "catch.hpp" | |
#include <iostream> | |
#include "TextPredictor.h" | |
using namespace std; | |
TEST_CASE ("Scan") { | |
vector<pair<string,vector<string>>> expected_follower { | |
{"ability", {"to","when"}}, | |
{"about", {"it","the","that","him","his","something","a","in","to","you","how","me","on","them","concluded","he","much","project","until","again","all","an","and","announced","any","by","doing","done","eh","etexts","everything","five","having","made","marveled","my","myself","next","one","ready","right","running","seven","slowly","so","some","stop","ten","there","they","this","those","three","time","twenty","two","watching","what","while","with","working","your"}}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Polynomial.hpp | |
* | |
* Author: "Hans Dulimarta <dulimarh@cis.gvsu.edu>" | |
*/ | |
#ifndef POLYNOM_H_ | |
#define POLYNOM_H_ | |
#include <algorithm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "gvsu_cis.h" | |
#include "Polynomial.hpp" | |
#include <sstream> | |
TEST_CASE ("Getter") | |
{ | |
/* 8x^100 - 3x^5 + 9 */ | |
Polynomial<float> one("[8 100] [-3 5] [9 0]"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.swing.*; | |
import javax.swing.event.ChangeEvent; | |
import javax.swing.event.ChangeListener; | |
import java.awt.*; | |
/** | |
* Draw a recursive 2D graphics | |
* | |
* @version Fall 2015 | |
* @author Hans Dulimarta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.swing.*; | |
import javax.swing.event.ChangeEvent; | |
import javax.swing.event.ChangeListener; | |
import java.awt.*; | |
/** | |
* Draw a recursive 2D graphics | |
* | |
* @version Fall 2015 | |
* @author Hans Dulimarta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cis163.text_scrambler; | |
/** | |
* Created by Hans Dulimarta on Fall 2015. | |
*/ | |
public interface GVList<GVElement> { | |
/** | |
* Check if the list is empty | |
* @return true/false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package cis163.text_scrambler; | |
/** | |
* Created by Hans Dulimarta on Fall 2015. | |
*/ | |
public interface GVList<GVElement> { | |
/** | |
* Check if the list is empty | |
* @return true/false |
OlderNewer