Plea agreements
The vast majority of criminal cases are resolved without going to trail by defendants pleading guilty.  Most pleas are a result of negotiations between the prosecutor, the defendant, and/or the defense attorney.
A plea negotiation usually involves a specific sentence recommendation or dismissal of certain charges by the state in exchange for a guilty plea from the defendant on specific charges.

Every case handled by the District Attorney's Office is taken on a case-by-case basis, which means there is not a "one size fits all" type of approach.  the DA's Office does not have specific formulas on how every type of charge is handled.  Different cases with different defendants, facts, and criminal histories will result in a different recommendation.

Plea agreements can be helpful to victims for many reasons.  They assure a conviction for a crime without putting victims through the inconvenience and trauma of going to trial in exchange for the defendant taking responsibility.  They eliminate the risk that the defendant may not be held accountable due to a court finding of not guilty.