@include('components.theme.pages.header')
Data Ranking
Kembali
@if (\App\Models\BobotKriteria::count() == 0) @elseif(\App\Models\BobotAlternatif::count() == 0) @else where('id_kriteria', $id_kriteria)->first())->nilai; $pv_kriteria = optional(\App\Models\BobotKriteria::where('id_kriteria', $id_kriteria)->first())->nilai; $nilai[$x] += ($pv_alternatif * $pv_kriteria); } } // Update Nilai Ranking for ($i = 0; $i <= ($jumlah_alternatif - 1); $i++) { $id_alternatif = getAlternatifId($i); insertRanking($id_alternatif, $nilai[$i]); } ?>

Matriks Perbandingan Berpasangan

" . getAlternatifNama($i) . ""; } ?> "; echo ""; echo ""; for ($y = 0; $y <= ($jumlah_alternatif - 1); $y++) { $hasil = getAlternatifPV(getAlternatifId($y), getKriteriaId($x)) * getKriteriaPV(getKriteriaId($x)); echo ""; } echo ""; } ?> " . round($nilai[$i], 5) . ""; } ?>
Overakll Composite Height Priority Vector (rata-rata)
" . getKriteriaNama($x) . "" . round(getKriteriaPV(getKriteriaId($x)), 5) . "" . round($hasil, 5) . "
Total

Perangkingan

get() as $rank) : ?>
Peringkat Alternatif Nilai
{{ $no++ }} {{ $rank->account->nama_alternatif }} {{ number_format($rank->skor_bobot,6) }}
@endif
@include('components.theme.pages.footer')