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
# OBS importante | |
# Fiz algumas modificações na estrutura da função loss (versão 4) para incluir punições por valores abaixo de 0 ou acima de um limite máximo. | |
# As versões que constam abaixo são as tradicionais, para ficar mais fácil de ler. A nova versão já está no código com a função ODEPreparer | |
# Equacionamento | |
rX = (X * mu_max * S / (K_S + S)) * f_x_calc_func() * h_p_calc_func() | |
rP = alpha * rX + beta * X | |
rS = -(1 / Y_PS) * rP - ms * X | |
dVdt_calc = f_in - f_out |
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 'package:flutter/gestures.dart'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
// Essa primeira mudança é pra permitir o scroll | |
// ref1: https://docs.flutter.dev/release/breaking-changes/default-scroll-behavior-drag | |
// ref2: https://stackoverflow.com/questions/69232764/flutter-web-cannot-scroll-with-mouse-down-drag-flutter-2-5 | |
// Basicamente nas versões anteriores do Flutter ele suportava normalmente que a lista fosse arrastada com o mouse. |
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 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', | |
debugShowCheckedModeBanner: false, |