Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
37Activity
×
0 of .
Results for:
No results containing your search query
P. 1
Contoh Program Fuzzy Logic Menggunakan Java

Contoh Program Fuzzy Logic Menggunakan Java

Ratings: (0)|Views: 3,266|Likes:
Published by Denny Hermawanto
Contoh pemrograman fuzzy logic untuk pengambilan keputusan menggunakan bahasa pemrograman Java
Contoh pemrograman fuzzy logic untuk pengambilan keputusan menggunakan bahasa pemrograman Java

More info:

categoriesTypes, Research
Published by: Denny Hermawanto on Nov 26, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

07/23/2013

pdf

text

original

 
/*Fuzzy Logic for decision support systemProgrammed by: Denny HermawantoAddress: KIM-LIPIMail: d_3_nny@yahoo.comCopyright: 2008*/import java.util.*;class ProjectFuzzy{class Suhu{public double data_suhu;private double rendah(){if((data_suhu>=18)&&(data_suhu<=22)){return (data_suhu - 18.0) / 4.0;}else if((data_suhu>=22)&&(data_suhu<=26)){return (26.0 - data_suhu) / 4.0;}else{return 0;}}private double normal(){if((data_suhu>=22)&&(data_suhu<=26)){return (data_suhu - 22.0) / 4.0;}else if((data_suhu>=26)&&(data_suhu<=32)){return (32.0 - data_suhu) / 6.0;}else{return 0;}}private double tinggi(){if((data_suhu>=26)&&(data_suhu<=32)){return (data_suhu - 26.0) / 6.0;}else if((data_suhu>=32)&&(data_suhu<=38)){return (38.0 - data_suhu) / 6.0;}else{return 0;}
 
}}class Kebisingan{public double data_kebisingan;private double tenang(){if((data_kebisingan>=35)&&(data_kebisingan<=55)){return (data_kebisingan - 35.0) / 20.0;}else if((data_kebisingan>=55)&&(data_kebisingan<=75)){return (75.0 - data_kebisingan) / 20.0;}else{return 0;}}private double agakbising(){if((data_kebisingan>=55)&&(data_kebisingan<=75)){return (data_kebisingan - 55.0) / 20.0;}else if((data_kebisingan>=75)&&(data_kebisingan<=90)){return (90.0 - data_kebisingan) / 15.0;}else{return 0;}}private double bising(){if((data_kebisingan>=75)&&(data_kebisingan<=90)){return (data_kebisingan - 75.0) / 15.0;}else if((data_kebisingan>=90)&&(data_kebisingan<=105)){return (105.0 - data_kebisingan) / 15.0;}else{return 0;}}}class Pencahayaan{public double data_pencahayaan;private double redup(){
 
if((data_pencahayaan>=0)&&(data_pencahayaan<=150)){return (data_pencahayaan / 15.0);}else if((data_pencahayaan>=150)&&(data_pencahayaan<=300)){return (300.0 - data_pencahayaan) / 150.0;}else{return 0;}}private double agakterang(){if((data_pencahayaan>=150)&&(data_pencahayaan<=300)){return ((data_pencahayaan - 150.0) / 150.0);}else if((data_pencahayaan>=300)&&(data_pencahayaan<=500)){return (500.0 - data_pencahayaan) / 200.0;}else{return 0;}}private double terang(){if((data_pencahayaan>=300)&&(data_pencahayaan<=500)){return ((data_pencahayaan - 300.0) / 200.0);}else if((data_pencahayaan>=500)&&(data_pencahayaan<=700)){return (700.0 - data_pencahayaan) / 200.0;}else{return 0;}}}class Produk{double [] rata_rata_product;Produk(){rata_rata_product = new double[27];rata_rata_product[0] = 148.00;rata_rata_product[1] = 150.90;rata_rata_product[2] = 146.50;

Activity (37)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Grade Rachmanda liked this
Ketut Widiarto liked this
Andryan Anasis liked this
Andryan Anasis liked this
hermanchester liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->